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

public Class ZonedDateTimeValueWriter

extends Object
implements ValueWriter
Class Inheritance
All Implemented Interfaces
tools.jackson.jr.ob.api.ValueWriter
Imports
java.time.ZonedDateTime, 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 ZonedDateTime to an ISO 8601 string including an offset and a zone ID.
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

ZonedDateTimeValueWriterback to summary
public ZonedDateTimeValueWriter()

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