Top Description Fields Constructors Methods
tools.jackson.dataformat.ion.ionvalue

public Class IonValueModule

extends JacksonModule
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
tools.jackson.core.Version, tools.jackson.databind.JacksonModule, tools.jackson.databind.module.SimpleDeserializers, .SimpleSerializers, tools.jackson.dataformat.ion.PackageVersion, com.amazon.ion.Timestamp

A module which allows for the direct serialization to and from IonValue fields. The POJO can declare fields of type IonValue (or a subclass) and the direct value will be provided.

As of Jackson 3.0 does not extend SimpleModule to keep it java.io.Serializable (value serializers, deserializers are not serializable in 3.0).

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 String
getModuleName()

Implements abstract tools.jackson.databind.JacksonModule.getModuleName.

Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

public void
setupModule(JacksonModule.SetupContext context)

Implements abstract tools.jackson.databind.JacksonModule.setupModule.

Method called by ObjectMapper when module is registered.

public Version
version()

Implements abstract tools.jackson.databind.JacksonModule.version.

Implements tools.jackson.core.Versioned.version.

Method that returns version of this module.

Inherited from tools.jackson.databind.JacksonModule:
getDependenciesgetRegistrationId

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IonValueModuleback to summary
public IonValueModule()

Method Detail

getModuleNameback to summary
public String getModuleName()

Implements abstract tools.jackson.databind.JacksonModule.getModuleName.

Doc from tools.jackson.databind.JacksonModule.getModuleName.

Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

Annotations
@Override
setupModuleback to summary
public void setupModule(JacksonModule.SetupContext context)

Implements abstract tools.jackson.databind.JacksonModule.setupModule.

Doc from tools.jackson.databind.JacksonModule.setupModule.

Method called by ObjectMapper when module is registered. It is called to let module register functionality it provides, using callback methods passed-in context object exposes.

Annotations
@Override
versionback to summary
public Version version()

Implements abstract tools.jackson.databind.JacksonModule.version.

Implements tools.jackson.core.Versioned.version.

Doc from tools.jackson.databind.JacksonModule.version.

Method that returns version of this module. Can be used by Jackson for informational purposes.

Annotations
@Override