public class SimpleDateFormatSerializer extends Object implements ObjectSerializer
| 构造器和说明 |
|---|
SimpleDateFormatSerializer(String pattern) |
public SimpleDateFormatSerializer(String pattern)
public void write(JSONSerializer serializer, Object object, Object fieldName, Type fieldType, int features) throws IOException
ObjectSerializerwrite 在接口中 ObjectSerializerobject - src the object that needs to be converted to Json.fieldName - parent object field namefieldType - parent object field typefeatures - parent object field serializer featuresIOExceptionCopyright © 2012–2016 Alibaba Group. All rights reserved.