Uses of Class
com.alibaba.fastjson.serializer.SerializerFeature
-
Uses of SerializerFeature in com.alibaba.fastjson
Methods in com.alibaba.fastjson with parameters of type SerializerFeature 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 JSONstatic 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 OutputStreamstatic 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 writeJSONStringstatic int
JSON. writeJSONStringWithFastJsonConfig(OutputStream os, Charset charset, Object object, SerializeConfig config, SerializeFilter[] filters, String dateFormat, int defaultFeatures, SerializerFeature... features)
Uses of SerializerFeature in com.alibaba.fastjson.serializer
Fields in com.alibaba.fastjson.serializer declared as SerializerFeature Modifier and Type Field and Description static SerializerFeature[]
SerializerFeature. EMPTY
Methods in com.alibaba.fastjson.serializer that return SerializerFeature 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.Methods in com.alibaba.fastjson.serializer with parameters of type SerializerFeature Modifier and Type Method and Description void
SerializeConfig. config(Class<?> clazz, SerializerFeature feature, boolean value)
class level serializer feature configstatic 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)
Constructors in com.alibaba.fastjson.serializer with parameters of type SerializerFeature Constructor and Description SerializeWriter(SerializerFeature... features)
SerializeWriter(Writer writer, int defaultFeatures, SerializerFeature... features)
SerializeWriter(Writer writer, SerializerFeature... features)
Uses of SerializerFeature in com.alibaba.fastjson.support.config
Methods in com.alibaba.fastjson.support.config that return SerializerFeature Modifier and Type Method and Description SerializerFeature[]
FastJsonConfig. getSerializerFeatures()
Methods in com.alibaba.fastjson.support.config with parameters of type SerializerFeature Modifier and Type Method and Description void
FastJsonConfig. setSerializerFeatures(SerializerFeature... serializerFeatures)
Uses of SerializerFeature in com.alibaba.fastjson.support.jaxrs
Methods in com.alibaba.fastjson.support.jaxrs that return SerializerFeature Modifier and Type Method and Description SerializerFeature[]
FastJsonProvider. getFeatures()
Deprecated.Methods in com.alibaba.fastjson.support.jaxrs with parameters of type SerializerFeature Modifier and Type Method and Description void
FastJsonProvider. setFeatures(SerializerFeature... features)
Deprecated.Uses of SerializerFeature in com.alibaba.fastjson.support.retrofit
Methods in com.alibaba.fastjson.support.retrofit that return SerializerFeature Modifier and Type Method and Description SerializerFeature[]
Retrofit2ConverterFactory. getSerializerFeatures()
Deprecated.Methods in com.alibaba.fastjson.support.retrofit with parameters of type SerializerFeature Modifier and Type Method and Description Retrofit2ConverterFactory
Retrofit2ConverterFactory. setSerializerFeatures(SerializerFeature[] features)
Deprecated.Uses of SerializerFeature in com.alibaba.fastjson.support.spring
Methods in com.alibaba.fastjson.support.spring that return SerializerFeature Modifier and Type Method and Description SerializerFeature[]
FastJsonJsonView. getFeatures()
Deprecated.SerializerFeature[]
FastJsonHttpMessageConverter. getFeatures()
Deprecated.Methods in com.alibaba.fastjson.support.spring with parameters of type SerializerFeature 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–2021 Alibaba Group. All rights reserved.