final class ObjectWriterImplCollection extends ObjectWriterPrimitiveImpl
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
features |
(package private) static ObjectWriterImplCollection |
INSTANCE |
(package private) java.lang.reflect.Type |
itemType |
(package private) static long |
LINKED_HASH_SET_JSONB_TYPE_HASH |
(package private) static byte[] |
LINKED_HASH_SET_JSONB_TYPE_NAME_BYTES |
(package private) static long |
TREE_SET_JSONB_TYPE_HASH |
(package private) static byte[] |
TREE_SET_JSONB_TYPE_NAME_BYTES |
| Constructor and Description |
|---|
ObjectWriterImplCollection() |
| 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.
|
void |
writeJSONB(JSONWriter jsonWriter,
java.lang.Object object,
java.lang.Object fieldName,
java.lang.reflect.Type fieldType,
long features)
Writes an object to the JSONWriter in JSONB format.
|
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, writeTypeInfo, writeWithFilter, writeWithFilterstatic final ObjectWriterImplCollection INSTANCE
static final byte[] LINKED_HASH_SET_JSONB_TYPE_NAME_BYTES
static final long LINKED_HASH_SET_JSONB_TYPE_HASH
static final byte[] TREE_SET_JSONB_TYPE_NAME_BYTES
static final long TREE_SET_JSONB_TYPE_HASH
java.lang.reflect.Type itemType
long features
public void writeJSONB(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 writingpublic 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