类 com.alibaba.fastjson.serializer.SerializeConfig
的使用

使用 SerializeConfig 的软件包
com.alibaba.fastjson   
com.alibaba.fastjson.serializer   
 

com.alibaba.fastjson 中 SerializeConfig 的使用
 

参数类型为 SerializeConfig 的 com.alibaba.fastjson 中的方法
static byte[] JSON.toJSONBytes(Object object, SerializeConfig config, SerializerFeature... features)
           
static String JSON.toJSONString(Object object, SerializeConfig config, SerializerFeature... features)
           
static String JSON.toJSONStringZ(Object object, SerializeConfig mapping, SerializerFeature... features)
           
 

com.alibaba.fastjson.serializer 中 SerializeConfig 的使用
 

com.alibaba.fastjson.serializer 中 SerializeConfig 的子类
 class JSONSerializerMap
          已过时。 
 

返回 SerializeConfig 的 com.alibaba.fastjson.serializer 中的方法
static SerializeConfig SerializeConfig.getGlobalInstance()
           
 SerializeConfig JSONSerializer.getMapping()
           
 

参数类型为 SerializeConfig 的 com.alibaba.fastjson.serializer 中的构造方法
JSONSerializer(SerializeConfig config)
           
JSONSerializer(SerializeWriter out, SerializeConfig config)
           
 



Copyright © 2012-2013 Alibaba Group. All Rights Reserved.