Package com.alibaba.fastjson2.writer
Class ObjectWriterImplToString
java.lang.Object
com.alibaba.fastjson2.writer.ObjectWriterPrimitiveImpl
com.alibaba.fastjson2.writer.ObjectWriterImplToString
- All Implemented Interfaces:
ObjectWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectWriterImplToString
static final ObjectWriterImplToString
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(JSONWriter jsonWriter, Object object, Object fieldName, Type fieldType, long features) Methods inherited from class com.alibaba.fastjson2.writer.ObjectWriterPrimitiveImpl
getFunction, writeArrayMapping, writeArrayMappingJSONB
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.alibaba.fastjson2.writer.ObjectWriter
getFeatures, getFieldValue, getFieldWriter, getFieldWriter, getFieldWriters, hasFilter, setFilter, setNameFilter, setPropertyFilter, setPropertyPreFilter, setValueFilter, toJSONString, write, writeArrayMappingJSONB, writeJSONB, writeTypeInfo, writeWithFilter, writeWithFilter
-
Field Details
-
INSTANCE
-
DIRECT
-
-
Constructor Details
-
ObjectWriterImplToString
public ObjectWriterImplToString() -
ObjectWriterImplToString
public ObjectWriterImplToString(boolean direct)
-
-
Method Details
-
write
public void write(JSONWriter jsonWriter, Object object, Object fieldName, Type fieldType, long features)
-