|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 SerializerFeature 的软件包 | |
|---|---|
| com.alibaba.fastjson | |
| com.alibaba.fastjson.serializer | |
| com.alibaba.fastjson.support.spring | |
| com.alibaba.fastjson 中 SerializerFeature 的使用 |
|---|
| 参数类型为 SerializerFeature 的 com.alibaba.fastjson 中的方法 | |
|---|---|
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)
|
| com.alibaba.fastjson.serializer 中 SerializerFeature 的使用 |
|---|
| 返回 SerializerFeature 的 com.alibaba.fastjson.serializer 中的方法 | |
|---|---|
static SerializerFeature |
SerializerFeature.valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static SerializerFeature[] |
SerializerFeature.values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
| 参数类型为 SerializerFeature 的 com.alibaba.fastjson.serializer 中的方法 | |
|---|---|
static int |
SerializerFeature.config(int features,
SerializerFeature feature,
boolean state)
|
void |
JSONSerializer.config(SerializerFeature feature,
boolean state)
|
void |
SerializeWriter.config(SerializerFeature feature,
boolean state)
|
static boolean |
SerializerFeature.isEnabled(int features,
SerializerFeature feature)
|
boolean |
JSONSerializer.isEnabled(SerializerFeature feature)
|
boolean |
SerializeWriter.isEnabled(SerializerFeature feature)
|
| 参数类型为 SerializerFeature 的 com.alibaba.fastjson.serializer 中的构造方法 | |
|---|---|
SerializeWriter(SerializerFeature... features)
|
|
SerializeWriter(Writer writer,
SerializerFeature... features)
|
|
| com.alibaba.fastjson.support.spring 中 SerializerFeature 的使用 |
|---|
| 返回 SerializerFeature 的 com.alibaba.fastjson.support.spring 中的方法 | |
|---|---|
SerializerFeature[] |
FastJsonHttpMessageConverter.getFeatures()
|
SerializerFeature[] |
FastJsonJsonView.getFeatures()
|
| 参数类型为 SerializerFeature 的 com.alibaba.fastjson.support.spring 中的方法 | |
|---|---|
void |
FastJsonHttpMessageConverter.setFeatures(SerializerFeature... features)
|
void |
FastJsonJsonView.setFeatures(SerializerFeature... features)
|
void |
FastJsonJsonView.setSerializerFeature(SerializerFeature... features)
已过时。 |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||