Modifier and Type | Method and Description |
---|---|
void |
JSONWriter.config(SerializerFeature feature,
boolean state) |
static byte[] |
JSON.toJSONBytes(Charset charset,
Object object,
SerializeConfig config,
SerializeFilter[] filters,
String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeConfig config,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeConfig config,
SerializeFilter[] filters,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeConfig config,
SerializeFilter[] filters,
String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeConfig config,
SerializeFilter filter,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeConfig config,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeFilter[] filters,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeFilter filter,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytesWithFastJsonConfig(Charset charset,
Object object,
SerializeConfig config,
SerializeFilter[] filters,
String dateFormat,
int defaultFeatures,
SerializerFeature... features)
Use the date format in FastJsonConfig to serialize JSON
|
static String |
JSON.toJSONString(Object object,
int defaultFeatures,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeConfig config,
SerializeFilter[] filters,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeConfig config,
SerializeFilter[] filters,
String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeConfig config,
SerializeFilter filter,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeConfig config,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeFilter[] filters,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeFilter filter,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializerFeature... features) |
static String |
JSON.toJSONStringWithDateFormat(Object object,
String dateFormat,
SerializerFeature... features) |
static String |
JSON.toJSONStringZ(Object object,
SerializeConfig mapping,
SerializerFeature... features)
Deprecated.
|
String |
JSON.toString(SerializerFeature... features) |
static int |
JSON.writeJSONString(OutputStream os,
Charset charset,
Object object,
SerializeConfig config,
SerializeFilter[] filters,
String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
static int |
JSON.writeJSONString(OutputStream os,
Charset charset,
Object object,
SerializerFeature... features) |
static int |
JSON.writeJSONString(OutputStream os,
Object object,
int defaultFeatures,
SerializerFeature... features) |
static int |
JSON.writeJSONString(OutputStream os,
Object object,
SerializerFeature... features)
write object as json to OutputStream
|
static void |
JSON.writeJSONString(Writer writer,
Object object,
int defaultFeatures,
SerializerFeature... features) |
static void |
JSON.writeJSONString(Writer writer,
Object object,
SerializerFeature... features)
This method serializes the specified object into its equivalent json representation.
|
static void |
JSON.writeJSONStringTo(Object object,
Writer writer,
SerializerFeature... features)
Deprecated.
use writeJSONString
|
static int |
JSON.writeJSONStringWithFastJsonConfig(OutputStream os,
Charset charset,
Object object,
SerializeConfig config,
SerializeFilter[] filters,
String dateFormat,
int defaultFeatures,
SerializerFeature... features) |
Modifier and Type | Field and Description |
---|---|
static SerializerFeature[] |
SerializerFeature.EMPTY |
Modifier and Type | Method and Description |
---|---|
static SerializerFeature |
SerializerFeature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializerFeature[] |
SerializerFeature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
SerializeConfig.config(Class<?> clazz,
SerializerFeature feature,
boolean value)
class level serializer feature config
|
static int |
SerializerFeature.config(int features,
SerializerFeature feature,
boolean state) |
void |
SerializeWriter.config(SerializerFeature feature,
boolean state) |
void |
JSONSerializer.config(SerializerFeature feature,
boolean state) |
static boolean |
SerializerFeature.isEnabled(int features,
int featuresB,
SerializerFeature feature) |
static boolean |
SerializerFeature.isEnabled(int features,
SerializerFeature feature) |
boolean |
SerializeWriter.isEnabled(SerializerFeature feature) |
boolean |
JSONSerializer.isEnabled(SerializerFeature feature) |
static int |
SerializerFeature.of(SerializerFeature[] features) |
void |
SerializeWriter.writeNull(SerializerFeature feature) |
Constructor and Description |
---|
SerializeWriter(SerializerFeature... features) |
SerializeWriter(Writer writer,
int defaultFeatures,
SerializerFeature... features) |
SerializeWriter(Writer writer,
SerializerFeature... features) |
Modifier and Type | Method and Description |
---|---|
SerializerFeature[] |
FastJsonConfig.getSerializerFeatures() |
Modifier and Type | Method and Description |
---|---|
void |
FastJsonConfig.setSerializerFeatures(SerializerFeature... serializerFeatures) |
Modifier and Type | Method and Description |
---|---|
SerializerFeature[] |
FastJsonProvider.getFeatures()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
FastJsonProvider.setFeatures(SerializerFeature... features)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SerializerFeature[] |
Retrofit2ConverterFactory.getSerializerFeatures()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Retrofit2ConverterFactory |
Retrofit2ConverterFactory.setSerializerFeatures(SerializerFeature[] features)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SerializerFeature[] |
FastJsonJsonView.getFeatures()
Deprecated.
|
SerializerFeature[] |
FastJsonHttpMessageConverter.getFeatures()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
FastJsonJsonView.setFeatures(SerializerFeature... features)
Deprecated.
|
void |
FastJsonHttpMessageConverter.setFeatures(SerializerFeature... features)
Deprecated.
|
void |
FastJsonJsonView.setSerializerFeature(SerializerFeature... features)
Deprecated.
|
Copyright © 2012–2022 Alibaba Group. All rights reserved.