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

public Class LocalDateTimeValueWriter

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

LocalDateTimeValueWriterback to summary
public LocalDateTimeValueWriter()

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