public static final class ObjectWriter.Prefetch
extends java.lang.Object
implements java.io.Serializable
TypeSerializer
, if given enough
information.Modifier and Type | Field and Description |
---|---|
static ObjectWriter.Prefetch |
empty |
Modifier and Type | Method and Description |
---|---|
ObjectWriter.Prefetch |
forRootType(ObjectWriter parent,
JavaType newType) |
TypeSerializer |
getTypeSerializer() |
JsonSerializer<java.lang.Object> |
getValueSerializer() |
boolean |
hasSerializer() |
void |
serialize(JsonGenerator gen,
java.lang.Object value,
DefaultSerializerProvider prov) |
public static final ObjectWriter.Prefetch empty
public ObjectWriter.Prefetch forRootType(ObjectWriter parent, JavaType newType)
public final JsonSerializer<java.lang.Object> getValueSerializer()
public final TypeSerializer getTypeSerializer()
public boolean hasSerializer()
public void serialize(JsonGenerator gen, java.lang.Object value, DefaultSerializerProvider prov) throws java.io.IOException
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"