public class JsonUtils extends Object
Constructor and Description |
---|
JsonUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
jsonToObject(String json,
Class<T> valueType) |
static String |
objToJson(Object object) |
public static <T> T jsonToObject(String json, Class<T> valueType) throws IOException
IOException
Copyright © 2023. All rights reserved.