ColorSerializer (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.serializer Class ColorSerializer

java.lang.Object
  extended by com.alibaba.fastjson.serializer.ColorSerializer
All Implemented Interfaces:
AutowiredObjectSerializer, ObjectSerializer

public class ColorSerializer
extends Object
implements AutowiredObjectSerializer


Field Summary
static ColorSerializer
 
Constructor Summary
 
Method Summary
 Set<Type>
 void
 
Methods inherited from class java.lang.Object
 

Field Detail

instance

public static final ColorSerializer instance
Constructor Detail

ColorSerializer

public ColorSerializer()
Method Detail

write

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

getAutowiredFor

public Set<Type> getAutowiredFor()
Specified by:
getAutowiredFor in interface AutowiredObjectSerializer


Copyright © 2012 Alibaba Group. All Rights Reserved.