public class LocalDateTimeValueReader
extends com.fasterxml.jackson.jr.ob.api.ValueReader
ValueReader designed specifically to handle LocalDateTime instances. This
requires a slightly different approach than other date time types because we want to be as
forgiving as possible and be able to also interpret ISO 8601 dates that include an offset
or zone ID.| Constructor and Description |
|---|
LocalDateTimeValueReader(ZoneId localZoneId)
Constructor that accepts a zone ID that should be used to when a ISO 8601 string that
includes an offset needs to be converted to a local date time.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
read(com.fasterxml.jackson.jr.ob.impl.JSONReader reader,
com.fasterxml.jackson.core.JsonParser p) |
public LocalDateTimeValueReader(ZoneId localZoneId)
localZoneId - Destination zone IDpublic Object read(com.fasterxml.jackson.jr.ob.impl.JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws IOException
read in class com.fasterxml.jackson.jr.ob.api.ValueReaderIOExceptionCopyright © 2026 FasterXML. All rights reserved.