public class ObjectWriterException extends ObjectWriterAdapter<java.lang.Exception>
containsNoneFieldGetter, features, fieldWriterArray, fieldWriters, googleCollection, hasFilter, hashCodes, hasValueField, jsonbClassInfo, mapping, nameFilter, nameWithColonUTF16, nameWithColonUTF8, objectClass, propertyFilter, propertyPreFilter, serializable, TYPE, typeKey, typeKeyJSONB, typeName, typeNameHash, typeNameJSONB, typeNameSymbolCache, valueFilter| Constructor and Description |
|---|
ObjectWriterException(java.lang.Class objectType,
long features,
java.util.List<FieldWriter> fieldWriters) |
| 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.
|
errorOnNoneSerializable, getFeatures, getFieldWriter, getFieldWriters, hasFilter, hasFilter0, setNameFilter, setPropertyFilter, setPropertyPreFilter, setValueFilter, toJSONObject, toJSONObject, toMap, toString, writeArrayMappingJSONB, writeClassInfo, writeTypeInfo, writeWithFilterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFieldValue, getFieldWriter, setFilter, toJSONString, write, writeArrayMapping, writeArrayMappingJSONB, writeWithFilterpublic ObjectWriterException(java.lang.Class objectType,
long features,
java.util.List<FieldWriter> fieldWriters)
public void writeJSONB(JSONWriter jsonWriter, java.lang.Object object, java.lang.Object fieldName, java.lang.reflect.Type fieldType, long features)
ObjectWriterwriteJSONB in interface ObjectWriter<java.lang.Exception>writeJSONB in class ObjectWriterAdapter<java.lang.Exception>jsonWriter - 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)
ObjectWriterwrite in interface ObjectWriter<java.lang.Exception>write in class ObjectWriterAdapter<java.lang.Exception>jsonWriter - 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