StringSerializer (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.serializer Class StringSerializer

java.lang.Object
  extended by com.alibaba.fastjson.serializer.StringSerializer
All Implemented Interfaces:
ObjectSerializer

public class StringSerializer
extends Object
implements ObjectSerializer

Author:
wenshao

Field Summary
static StringSerializer
 
Constructor Summary
 
Method Summary
 void
 void
 
Methods inherited from class java.lang.Object
 

Field Detail

instance

public static StringSerializer instance
Constructor Detail

StringSerializer

public StringSerializer()
Method Detail

write

public void write(JSONSerializer serializer,
                  Object object,
                  Object fieldName,
                  Type fieldType)
           throws IOException
Specified by:
write in interface ObjectSerializer
Throws:
IOException

write

public void write(JSONSerializer serializer,
                  String value)


Copyright © 2012 Alibaba Group. All Rights Reserved.