public class ObjectWriterImplToString extends ObjectWriterPrimitiveImpl
| Modifier and Type | Field and Description |
|---|---|
private boolean |
direct |
static ObjectWriterImplToString |
DIRECT |
static ObjectWriterImplToString |
INSTANCE |
| Constructor and Description |
|---|
ObjectWriterImplToString() |
ObjectWriterImplToString(boolean direct) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(JSONWriter jsonWriter,
java.lang.Object object,
java.lang.Object fieldName,
java.lang.reflect.Type fieldType,
long features)
Writes an object to the JSONWriter with the given field name, field type, and features.
|
getFunction, writeArrayMapping, writeArrayMappingJSONBclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatures, getFieldValue, getFieldWriter, getFieldWriter, getFieldWriters, hasFilter, setFilter, setNameFilter, setPropertyFilter, setPropertyPreFilter, setValueFilter, toJSONString, write, writeArrayMappingJSONB, writeJSONB, writeTypeInfo, writeWithFilter, writeWithFilterpublic static final ObjectWriterImplToString INSTANCE
public static final ObjectWriterImplToString DIRECT
private final boolean direct
public ObjectWriterImplToString()
public ObjectWriterImplToString(boolean direct)
public void write(JSONWriter jsonWriter, java.lang.Object object, java.lang.Object fieldName, java.lang.reflect.Type fieldType, long features)
ObjectWriterjsonWriter - the JSONWriter to which the object should be writtenobject - the object to writefieldName - the name of the field being writtenfieldType - the type of the field being writtenfeatures - the features to use for writing