Top Description Constructors Methods
tools.jackson.jr.extension.javatime

public Class OffsetDateTimeValueWriter

extends Object
implements ValueWriter
Class Inheritance
All Implemented Interfaces
tools.jackson.jr.ob.api.ValueWriter
Imports
java.io.IOException, java.time.OffsetDateTime, java.time.format.DateTimeFormatter, tools.jackson.core.JacksonException, .JsonGenerator, tools.jackson.jr.ob.api.ValueWriter, tools.jackson.jr.ob.impl.JSONWriter

ValueWriter that converts a OffsetDateTime to an ISO 8601 string including an offset.
Since
2.20
See Also
ISO 8601 on Wikipedia

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<?>
valueType()

Implements tools.jackson.jr.ob.api.ValueWriter.valueType.

Accessor for non-generic (type-erased) type of values this reader produces from input.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

OffsetDateTimeValueWriterback to summary
public OffsetDateTimeValueWriter()

Method Detail

valueTypeback to summary
public Class<?> valueType()

Implements tools.jackson.jr.ob.api.ValueWriter.valueType.

Doc from tools.jackson.jr.ob.api.ValueWriter.valueType.

Accessor for non-generic (type-erased) type of values this reader produces from input.

Annotations
@Override
writeValueback to summary
public void writeValue(JSONWriter context, JsonGenerator g, Object value) throws JacksonException

Implements tools.jackson.jr.ob.api.ValueWriter.writeValue.

Annotations
@Override