public abstract class JSON extends java.lang.Object implements JSONAware
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
JSON.Cache |
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.util.function.Supplier<java.util.List> |
arraySupplier |
(package private) static JSON.Cache |
CACHE |
(package private) static java.util.concurrent.atomic.AtomicReferenceFieldUpdater<JSON.Cache,char[]> |
CHARS_UPDATER |
static java.lang.String |
DEFAULT_DATE_FORMAT |
static int |
DEFAULT_GENERATE_FEATURE |
static int |
DEFAULT_PARSER_FEATURE |
private static java.util.TimeZone |
DEFAULT_TIME_ZONE |
static java.lang.String |
DEFAULT_TYPE_KEY |
static java.util.Locale |
defaultLocale |
(package private) static java.util.function.Supplier<java.util.Map> |
defaultSupplier |
static java.util.TimeZone |
defaultTimeZone |
static java.lang.String |
DEFFAULT_DATE_FORMAT
Deprecated.
|
private static int |
MAX_LEVEL |
(package private) static java.util.function.Supplier<java.util.Map> |
orderedSupplier |
static java.lang.String |
VERSION |
| Constructor and Description |
|---|
JSON() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
adaptResult(java.lang.Object result) |
private static java.lang.Object |
adaptResult(java.lang.Object result,
int level) |
(package private) static java.lang.Object |
adaptResultLive(java.lang.Object result)
Returns a live wrapper sharing state with the underlying fastjson2 container;
mutations propagate to the parent.
|
static void |
addMixInAnnotations(java.lang.reflect.Type target,
java.lang.reflect.Type mixinSource) |
static void |
clearMixInAnnotations() |
static void |
configFilter(JSONWriter.Context context,
SerializeFilter filter) |
static JSONReader.Context |
createReadContext(int featuresValue,
Feature... features) |
static JSONReader.Context |
createReadContext(ObjectReaderProvider provider,
int featuresValue,
Feature... features) |
static JSONWriter.Context |
createWriteContext(SerializeConfig config,
int featuresValue,
SerializerFeature... features) |
static java.lang.reflect.Type |
getMixInAnnotations(java.lang.reflect.Type target) |
static boolean |
isValid(java.lang.String str) |
static boolean |
isValidArray(java.lang.String str) |
static boolean |
isValidObject(java.lang.String str) |
static java.lang.Object |
parse(byte[] utf8Bytes,
Feature... features) |
static java.lang.Object |
parse(byte[] input,
int off,
int len,
java.nio.charset.CharsetDecoder charsetDecoder,
Feature... features) |
static java.lang.Object |
parse(byte[] input,
int off,
int len,
java.nio.charset.CharsetDecoder charsetDecoder,
int features) |
static java.lang.Object |
parse(java.lang.String str) |
static java.lang.Object |
parse(java.lang.String str,
Feature... features) |
static java.lang.Object |
parse(java.lang.String text,
int features) |
static java.lang.Object |
parse(java.lang.String str,
ParserConfig config) |
static java.lang.Object |
parse(java.lang.String str,
ParserConfig config,
Feature... features) |
static java.lang.Object |
parse(java.lang.String str,
ParserConfig config,
int features) |
static JSONArray |
parseArray(java.lang.String str) |
static <T> java.util.List<T> |
parseArray(java.lang.String text,
java.lang.Class<T> type) |
static <T> java.util.List<T> |
parseArray(java.lang.String text,
java.lang.Class<T> type,
Feature... features) |
static <T> java.util.List<T> |
parseArray(java.lang.String text,
java.lang.Class<T> clazz,
ParserConfig config) |
static JSONArray |
parseArray(java.lang.String str,
Feature... features) |
static java.util.List<java.lang.Object> |
parseArray(java.lang.String text,
java.lang.reflect.Type[] types) |
static <T> T |
parseObject(byte[] bytes,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectClass,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
parseObject(byte[] jsonBytes,
java.lang.Class<T> type,
Feature... features) |
static JSONObject |
parseObject(byte[] jsonBytes,
Feature... features) |
static <T> T |
parseObject(byte[] input,
int off,
int len,
java.nio.charset.CharsetDecoder charsetDecoder,
java.lang.reflect.Type clazz,
Feature... features) |
static <T> T |
parseObject(byte[] input,
int off,
int len,
java.nio.charset.Charset charset,
java.lang.reflect.Type clazz,
Feature... features) |
static <T> T |
parseObject(byte[] bytes,
int offset,
int len,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectType,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
parseObject(byte[] jsonBytes,
java.lang.reflect.Type type,
Feature... features) |
static <T> T |
parseObject(byte[] jsonBytes,
java.lang.reflect.Type type,
JSONReader.Context context) |
static <T> T |
parseObject(byte[] jsonBytes,
java.lang.reflect.Type type,
SerializeFilter filter,
Feature... features) |
static <T> T |
parseObject(char[] str,
java.lang.Class<T> objectClass,
Feature... features) |
static <T> T |
parseObject(char[] str,
int length,
java.lang.reflect.Type objectType,
Feature... features) |
static <T> T |
parseObject(java.io.InputStream is,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectType,
Feature... features) |
static <T> T |
parseObject(java.io.InputStream is,
java.nio.charset.Charset charset,
java.lang.reflect.Type type,
ParserConfig config,
Feature... features) |
static <T> T |
parseObject(java.io.InputStream is,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectType,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
parseObject(java.io.InputStream is,
java.lang.Class<T> objectType,
Feature... features) |
static <T> T |
parseObject(java.io.InputStream is,
java.lang.reflect.Type objectType,
Feature... features) |
static JSONObject |
parseObject(java.lang.String str) |
static <T> T |
parseObject(java.lang.String str,
java.lang.Class<T> objectClass) |
static <T> T |
parseObject(java.lang.String str,
java.lang.Class<T> objectType,
Feature... features) |
static <T> T |
parseObject(java.lang.String str,
java.lang.Class<T> objectClass,
ParseProcess processor,
Feature... features) |
static JSONObject |
parseObject(java.lang.String text,
Feature... features) |
static <T> T |
parseObject(java.lang.String str,
java.lang.reflect.Type objectType,
Feature... features) |
static <T> T |
parseObject(java.lang.String input,
java.lang.reflect.Type clazz,
int featureValues,
Feature... features) |
static <T> T |
parseObject(java.lang.String str,
java.lang.reflect.Type objectType,
ParseProcess processor,
Feature... features) |
static <T> T |
parseObject(java.lang.String str,
java.lang.reflect.Type objectType,
ParserConfig config,
Feature... features) |
static <T> T |
parseObject(java.lang.String input,
java.lang.reflect.Type clazz,
ParserConfig config,
int featureValues,
Feature... features) |
static <T> T |
parseObject(java.lang.String str,
java.lang.reflect.Type objectClass,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
parseObject(java.lang.String str,
TypeReference<T> typeReference,
Feature... features) |
static void |
removeMixInAnnotations(java.lang.reflect.Type target) |
abstract <T> T |
toJavaObject(java.lang.Class<T> objectClass) |
static <T> T |
toJavaObject(JSON json,
java.lang.Class<T> clazz) |
abstract <T> T |
toJavaObject(java.lang.reflect.Type type) |
<T> T |
toJavaObject(TypeReference<T> typeReference) |
static java.lang.Object |
toJSON(java.lang.Object javaObject) |
static java.lang.Object |
toJSON(java.lang.Object javaObject,
ParserConfig config) |
static java.lang.Object |
toJSON(java.lang.Object javaObject,
SerializeConfig config) |
static byte[] |
toJSONBytes(java.nio.charset.Charset charset,
java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object) |
static byte[] |
toJSONBytes(java.lang.Object object,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeConfig config,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializeFilter filter,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeFilter... filters) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeFilter filter) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeFilter[] filters,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializeFilter filter,
SerializerFeature... features) |
static byte[] |
toJSONBytes(java.lang.Object object,
SerializerFeature... features) |
java.lang.String |
toJSONString() |
static java.lang.String |
toJSONString(java.lang.Object object) |
static java.lang.String |
toJSONString(java.lang.Object object,
boolean prettyFormat) |
static java.lang.String |
toJSONString(java.lang.Object object,
int defaultFeatures,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeConfig config,
SerializeFilter filter,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeConfig config,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeFilter[] filters,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeFilter filter0,
SerializeFilter filter1,
SerializeFilter... filters) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializeFilter filter,
SerializerFeature... features) |
static java.lang.String |
toJSONString(java.lang.Object object,
SerializerFeature... features) |
static java.lang.String |
toJSONStringWithDateFormat(java.lang.Object object,
java.lang.String dateFormat,
SerializerFeature... features) |
static java.lang.String |
toJSONStringZ(java.lang.Object object,
SerializeConfig mapping,
SerializerFeature... features) |
java.lang.String |
toString(SerializerFeature... features) |
void |
writeJSONString(java.lang.Appendable appendable) |
static int |
writeJSONString(java.io.OutputStream os,
java.nio.charset.Charset charset,
java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static int |
writeJSONString(java.io.OutputStream os,
java.nio.charset.Charset charset,
java.lang.Object object,
SerializerFeature... features) |
static int |
writeJSONString(java.io.OutputStream os,
java.lang.Object object,
int defaultFeatures,
SerializerFeature... features) |
static int |
writeJSONString(java.io.OutputStream os,
java.lang.Object object,
SerializeFilter[] filters) |
static int |
writeJSONString(java.io.OutputStream os,
java.lang.Object object,
SerializeFilter[] filters,
SerializerFeature... features) |
static int |
writeJSONString(java.io.OutputStream os,
java.lang.Object object,
SerializerFeature... features) |
static int |
writeJSONString(java.io.OutputStream os,
java.lang.Object object,
java.lang.String dateFormat,
SerializeFilter[] filters,
SerializerFeature... features) |
static void |
writeJSONString(java.io.Writer writer,
java.lang.Object object,
int defaultFeatures,
SerializerFeature... features) |
static void |
writeJSONString(java.io.Writer writer,
java.lang.Object object,
SerializerFeature... features) |
private static final java.util.TimeZone DEFAULT_TIME_ZONE
private static final int MAX_LEVEL
public static final java.lang.String VERSION
static final JSON.Cache CACHE
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<JSON.Cache,char[]> CHARS_UPDATER
public static java.util.TimeZone defaultTimeZone
public static java.util.Locale defaultLocale
public static java.lang.String DEFAULT_TYPE_KEY
@Deprecated public static java.lang.String DEFFAULT_DATE_FORMAT
public static java.lang.String DEFAULT_DATE_FORMAT
public static int DEFAULT_PARSER_FEATURE
public static int DEFAULT_GENERATE_FEATURE
static final java.util.function.Supplier<java.util.List> arraySupplier
static final java.util.function.Supplier<java.util.Map> defaultSupplier
static final java.util.function.Supplier<java.util.Map> orderedSupplier
public static JSONReader.Context createReadContext(int featuresValue, Feature... features)
public static JSONReader.Context createReadContext(ObjectReaderProvider provider, int featuresValue, Feature... features)
public static JSONObject parseObject(java.lang.String str)
public static JSONObject parseObject(java.lang.String text, Feature... features)
public static <T> T parseObject(byte[] bytes,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectClass,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features)
public static <T> T parseObject(byte[] bytes,
int offset,
int len,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectType,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features)
public static <T> T parseObject(char[] str,
int length,
java.lang.reflect.Type objectType,
Feature... features)
public static <T> T parseObject(char[] str,
java.lang.Class<T> objectClass,
Feature... features)
public static <T> T parseObject(java.lang.String str,
java.lang.reflect.Type objectClass,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features)
public static <T> T parseObject(java.lang.String input,
java.lang.reflect.Type clazz,
ParserConfig config,
int featureValues,
Feature... features)
public static <T> T parseObject(java.lang.String str,
java.lang.reflect.Type objectType,
ParseProcess processor,
Feature... features)
public static <T> T parseObject(java.lang.String str,
java.lang.Class<T> objectClass,
ParseProcess processor,
Feature... features)
public static <T> T parseObject(java.lang.String str,
TypeReference<T> typeReference,
Feature... features)
public static <T> T parseObject(java.lang.String input,
java.lang.reflect.Type clazz,
int featureValues,
Feature... features)
public static <T> T parseObject(java.lang.String str,
java.lang.Class<T> objectClass)
public static <T> T parseObject(java.lang.String str,
java.lang.Class<T> objectType,
Feature... features)
public static <T> T parseObject(java.lang.String str,
java.lang.reflect.Type objectType,
Feature... features)
public static <T> T parseObject(java.lang.String str,
java.lang.reflect.Type objectType,
ParserConfig config,
Feature... features)
public static <T> T parseObject(java.io.InputStream is,
java.lang.reflect.Type objectType,
Feature... features)
throws java.io.IOException
java.io.IOExceptionpublic static <T> T parseObject(java.io.InputStream is,
java.lang.Class<T> objectType,
Feature... features)
throws java.io.IOException
java.io.IOExceptionpublic static <T> T parseObject(java.io.InputStream is,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectType,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features)
throws java.io.IOException
java.io.IOExceptionpublic static <T> T parseObject(java.io.InputStream is,
java.nio.charset.Charset charset,
java.lang.reflect.Type type,
ParserConfig config,
Feature... features)
throws java.io.IOException
java.io.IOExceptionpublic static <T> T parseObject(java.io.InputStream is,
java.nio.charset.Charset charset,
java.lang.reflect.Type objectType,
Feature... features)
throws java.io.IOException
java.io.IOExceptionpublic static JSONObject parseObject(byte[] jsonBytes, Feature... features)
public static <T> T parseObject(byte[] jsonBytes,
java.lang.Class<T> type,
Feature... features)
public static <T> T parseObject(byte[] jsonBytes,
java.lang.reflect.Type type,
Feature... features)
public static <T> T parseObject(byte[] jsonBytes,
java.lang.reflect.Type type,
JSONReader.Context context)
public static <T> T parseObject(byte[] jsonBytes,
java.lang.reflect.Type type,
SerializeFilter filter,
Feature... features)
public static java.lang.Object parse(java.lang.String str)
public static java.lang.Object parse(java.lang.String text,
int features)
public static java.lang.Object parse(java.lang.String str,
Feature... features)
public static java.lang.Object parse(java.lang.String str,
ParserConfig config,
Feature... features)
public static java.lang.Object parse(java.lang.String str,
ParserConfig config)
public static java.lang.Object parse(java.lang.String str,
ParserConfig config,
int features)
public static java.lang.Object parse(byte[] utf8Bytes,
Feature... features)
public static java.lang.Object parse(byte[] input,
int off,
int len,
java.nio.charset.CharsetDecoder charsetDecoder,
Feature... features)
public static java.lang.Object parse(byte[] input,
int off,
int len,
java.nio.charset.CharsetDecoder charsetDecoder,
int features)
public static <T> T parseObject(byte[] input,
int off,
int len,
java.nio.charset.CharsetDecoder charsetDecoder,
java.lang.reflect.Type clazz,
Feature... features)
public static <T> T parseObject(byte[] input,
int off,
int len,
java.nio.charset.Charset charset,
java.lang.reflect.Type clazz,
Feature... features)
public static JSONWriter.Context createWriteContext(SerializeConfig config, int featuresValue, SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeFilter[] filters,
SerializerFeature... features)
public static void configFilter(JSONWriter.Context context, SerializeFilter filter)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
int defaultFeatures,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializeFilter filter,
SerializerFeature... features)
public static byte[] toJSONBytes(java.nio.charset.Charset charset,
java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeFilter[] filters,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
boolean prettyFormat)
public static java.lang.String toJSONString(java.lang.Object object)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeFilter filter0,
SerializeFilter filter1,
SerializeFilter... filters)
public static java.lang.String toJSONString(java.lang.Object object,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeFilter... filters)
public static byte[] toJSONBytes(java.lang.Object object,
int defaultFeatures,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeFilter filter)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeFilter filter,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializerFeature... features)
public static byte[] toJSONBytes(java.lang.Object object,
SerializeConfig config,
int defaultFeatures,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeConfig config,
SerializerFeature... features)
public static java.lang.String toJSONStringZ(java.lang.Object object,
SerializeConfig mapping,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeConfig config,
SerializeFilter filter,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
SerializeFilter filter,
SerializerFeature... features)
public static java.lang.String toJSONString(java.lang.Object object,
int defaultFeatures,
SerializerFeature... features)
public static java.lang.String toJSONStringWithDateFormat(java.lang.Object object,
java.lang.String dateFormat,
SerializerFeature... features)
public static final int writeJSONString(java.io.OutputStream os,
java.lang.Object object,
SerializerFeature... features)
throws java.io.IOException
java.io.IOExceptionpublic static final int writeJSONString(java.io.OutputStream os,
java.lang.Object object,
SerializeFilter[] filters)
throws java.io.IOException
java.io.IOExceptionpublic static final int writeJSONString(java.io.OutputStream os,
java.nio.charset.Charset charset,
java.lang.Object object,
SerializerFeature... features)
throws java.io.IOException
java.io.IOExceptionpublic static void writeJSONString(java.io.Writer writer,
java.lang.Object object,
SerializerFeature... features)
public static void writeJSONString(java.io.Writer writer,
java.lang.Object object,
int defaultFeatures,
SerializerFeature... features)
public static final int writeJSONString(java.io.OutputStream os,
java.lang.Object object,
int defaultFeatures,
SerializerFeature... features)
throws java.io.IOException
java.io.IOExceptionpublic static final int writeJSONString(java.io.OutputStream os,
java.nio.charset.Charset charset,
java.lang.Object object,
SerializeConfig config,
SerializeFilter[] filters,
java.lang.String dateFormat,
int defaultFeatures,
SerializerFeature... features)
throws java.io.IOException
java.io.IOExceptionpublic static final int writeJSONString(java.io.OutputStream os,
java.lang.Object object,
SerializeFilter[] filters,
SerializerFeature... features)
throws java.io.IOException
java.io.IOExceptionpublic static final int writeJSONString(java.io.OutputStream os,
java.lang.Object object,
java.lang.String dateFormat,
SerializeFilter[] filters,
SerializerFeature... features)
throws java.io.IOException
java.io.IOExceptionpublic static JSONArray parseArray(java.lang.String str)
public static <T> java.util.List<T> parseArray(java.lang.String text,
java.lang.Class<T> type)
public static <T> java.util.List<T> parseArray(java.lang.String text,
java.lang.Class<T> clazz,
ParserConfig config)
public static <T> java.util.List<T> parseArray(java.lang.String text,
java.lang.Class<T> type,
Feature... features)
public static boolean isValid(java.lang.String str)
public static boolean isValidArray(java.lang.String str)
public static boolean isValidObject(java.lang.String str)
public abstract <T> T toJavaObject(java.lang.Class<T> objectClass)
public abstract <T> T toJavaObject(java.lang.reflect.Type type)
public <T> T toJavaObject(TypeReference<T> typeReference)
public static <T> T toJavaObject(JSON json, java.lang.Class<T> clazz)
public static java.lang.Object toJSON(java.lang.Object javaObject)
public static java.lang.Object adaptResult(java.lang.Object result)
static java.lang.Object adaptResultLive(java.lang.Object result)
get()-family accessors where
JSONPath navigation must see writes. Use adaptResult(Object) for
independent snapshots.private static java.lang.Object adaptResult(java.lang.Object result,
int level)
public static java.lang.Object toJSON(java.lang.Object javaObject,
SerializeConfig config)
public static java.lang.Object toJSON(java.lang.Object javaObject,
ParserConfig config)
public static java.util.List<java.lang.Object> parseArray(java.lang.String text,
java.lang.reflect.Type[] types)
public static void addMixInAnnotations(java.lang.reflect.Type target,
java.lang.reflect.Type mixinSource)
public static void removeMixInAnnotations(java.lang.reflect.Type target)
public static void clearMixInAnnotations()
public static java.lang.reflect.Type getMixInAnnotations(java.lang.reflect.Type target)
public java.lang.String toJSONString()
toJSONString in interface JSONAwarepublic java.lang.String toString(SerializerFeature... features)
public void writeJSONString(java.lang.Appendable appendable)