| Package | Description |
|---|---|
| com.alibaba.fastjson | |
| com.alibaba.fastjson.serializer | |
| com.alibaba.fastjson.support.config |
| Modifier and Type | Method and Description |
|---|---|
void |
JSONWriter.config(SerializerFeature feature,
boolean state) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializeFilter[] filters,
SerializerFeature... features) |
static byte[] |
JSON.toJSONBytes(Object object,
SerializerFeature... features) |
static String |
JSON.toJSONString(Object object,
int defaultFeatures,
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,
SerializerFeature... features) |
static String |
JSON.toJSONStringWithDateFormat(Object object,
String dateFormat,
SerializerFeature... features) |
String |
JSONObject.toString(SerializerFeature... features) |
static int |
JSON.writeJSONString(OutputStream os,
Object object,
int defaultFeatures,
SerializerFeature... features) |
static int |
JSON.writeJSONString(OutputStream os,
Object object,
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 |
|---|---|
static int |
SerializerFeature.config(int features,
SerializerFeature feature,
boolean state) |
static boolean |
SerializerFeature.isEnabled(int features,
int fieaturesB,
SerializerFeature feature) |
static boolean |
SerializerFeature.isEnabled(int features,
SerializerFeature feature) |
static int |
SerializerFeature.of(SerializerFeature[] features) |
| Modifier and Type | Method and Description |
|---|---|
SerializerFeature[] |
FastJsonConfig.getSerializerFeatures() |
| Modifier and Type | Method and Description |
|---|---|
void |
FastJsonConfig.setSerializerFeatures(SerializerFeature... serializerFeatures) |
Copyright © 2022 Alibaba Group. All rights reserved.