public class JacksonUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <I> String |
toJson(I data)
convert data into json string
|
static <O> O |
toObject(String json,
Class<O> clazz)
convert json string into specific class
|
public static <I> String toJson(I data)
I - type of datadata - dataCopyright © 2023 flmelody. All rights reserved.