public static final class ObjectWriter.Prefetch extends Object implements 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<Object> |
getValueSerializer() |
boolean |
hasSerializer() |
void |
serialize(JsonGenerator gen,
Object value,
DefaultSerializerProvider prov) |
public static final ObjectWriter.Prefetch empty
public ObjectWriter.Prefetch forRootType(ObjectWriter parent, JavaType newType)
public final JsonSerializer<Object> getValueSerializer()
public final TypeSerializer getTypeSerializer()
public boolean hasSerializer()
public void serialize(JsonGenerator gen, Object value, DefaultSerializerProvider prov) throws IOException
IOException
Copyright © 2008–2024 FasterXML. All rights reserved.