| Package | Description |
|---|---|
| com.alibaba.fastjson | |
| com.alibaba.fastjson.serializer | |
| com.alibaba.fastjson.support.spring |
| Modifier and Type | Method and Description |
|---|---|
void |
JSONWriter.config(SerializerFeature feature,
boolean state) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeConfig config,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
SerializeConfig config,
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) |
static void |
JSON.writeJSONStringTo(Object object,
Writer writer,
SerializerFeature... features) |
| 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 |
|---|---|
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 fieaturesB,
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) |
| Constructor and Description |
|---|
SerializeWriter(SerializerFeature... features) |
SerializeWriter(Writer writer,
SerializerFeature... features) |
| Modifier and Type | Method and Description |
|---|---|
SerializerFeature[] |
FastJsonJsonView.getFeatures() |
SerializerFeature[] |
FastJsonHttpMessageConverter.getFeatures() |
| Modifier and Type | Method and Description |
|---|---|
void |
FastJsonJsonView.setFeatures(SerializerFeature... features) |
void |
FastJsonHttpMessageConverter.setFeatures(SerializerFeature... features) |
void |
FastJsonJsonView.setSerializerFeature(SerializerFeature... features)
Deprecated.
|
Copyright © 2012–2016. All rights reserved.