public interface JsonParser
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
get Name
|
<T> T |
parse(String json,
Class<T> type,
boolean ignoreAutoType)
parse json string to Object
|
String |
toJsonString(Object o,
boolean prettyPrint)
Object to Json string
|
String |
toJsonString(Object o,
boolean ignoreAutoType,
boolean prettyPrint)
Object to Json string
|
boolean |
useAutoType(String json)
Check json use auto type boolean.
|
String getName()
String toJsonString(Object o, boolean prettyPrint)
o - the input objectprettyPrint - is pretty and printboolean useAutoType(String json)
json - the jsonString toJsonString(Object o, boolean ignoreAutoType, boolean prettyPrint)
o - the input objectignoreAutoType - is ignore auto typeprettyPrint - is pretty and printCopyright © 2023 Seata. All rights reserved.