Top Description Fields Constructors Methods
com.fasterxml.jackson.dataformat.ion.ionvalue

pack-priv Class IonValueSerializer

extends StdScalarSerializer<IonValue>
Class Inheritance
Imports
java.io.IOException, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.ser.std.StdScalarSerializer, com.fasterxml.jackson.dataformat.ion.IonGenerator, com.amazon.ion.IonValue

References Deprecated

StdScalarSerializer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Serializer that knows how to serialize an IonValue.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
serialize(IonValue
Value to serialize; can not be null.
value
,
JsonGenerator
Generator used to output resulting Json content
jgen
,
SerializerProvider
Provider that can be used to get serializers for serializing Objects value contains, if any.
provider
)

Implements abstract com.fasterxml.jackson.databind.ser.std.StdSerializer.serialize.

Method that can be called to ask implementation to serialize values of type this serializer handles.

Inherited from com.fasterxml.jackson.databind.ser.std.StdScalarSerializer:
acceptJsonFormatVisitorgetSchemaserializeWithType

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.ser.std.StdSerializer.serialVersionUID.

Constructor Detail

IonValueSerializerback to summary
public IonValueSerializer()

Method Detail

serializeback to summary
public void serialize(IonValue value, JsonGenerator jgen, SerializerProvider provider) throws IOException

Implements abstract com.fasterxml.jackson.databind.ser.std.StdSerializer.serialize.

Doc from com.fasterxml.jackson.databind.JsonSerializer.serialize.

Method that can be called to ask implementation to serialize values of type this serializer handles.

Parameters
value:IonValue

Value to serialize; can not be null.

jgen:JsonGenerator

Generator used to output resulting Json content

provider:SerializerProvider

Provider that can be used to get serializers for serializing Objects value contains, if any.

Annotations
@Override