Class StringCodec

java.lang.Object
com.alibaba.fastjson.serializer.StringCodec
All Implemented Interfaces:
ObjectSerializer, com.alibaba.fastjson2.writer.ObjectWriter

public class StringCodec extends Object implements ObjectSerializer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StringCodec
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> T
     
    <T> T
    deserialze(DefaultJSONParser parser, Type clazz, Object fieldName)
     
    void
    write(JSONSerializer serializer, Object object, Object fieldName, Type fieldType, int features)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.alibaba.fastjson.serializer.ObjectSerializer

    write

    Methods inherited from interface com.alibaba.fastjson2.writer.ObjectWriter

    getFeatures, getFieldValue, getFieldWriter, getFieldWriter, getFieldWriters, hasFilter, setFilter, setNameFilter, setPropertyFilter, setPropertyPreFilter, setValueFilter, toJSONString, write, writeArrayMapping, writeArrayMappingJSONB, writeArrayMappingJSONB, writeJSONB, writeTypeInfo, writeWithFilter, writeWithFilter