public class YassonProperties extends Object
JsonbConfig scope.| Modifier and Type | Field | Description |
|---|---|---|
static String |
FAIL_ON_UNKNOWN_PROPERTIES |
Property used to specify behaviour on deserialization when JSON document contains properties
which doesn't exist in the target class.
|
static String |
USER_TYPE_MAPPING |
User type mapping for map interface to implementation classes.
|
static String |
ZERO_TIME_PARSE_DEFAULTING |
Makes parsing dates defaulting to zero hour, minute and second.
|
| Constructor | Description |
|---|---|
YassonProperties() |
public static final String FAIL_ON_UNKNOWN_PROPERTIES
public static final String USER_TYPE_MAPPING
public static final String ZERO_TIME_PARSE_DEFAULTING
Makes parsing dates defaulting to zero hour, minute and second.
This will made available to parse patterns like yyyy.MM.dd to
Date, Calendar, Instant LocalDate
or even ZonedDateTime.
If time zone is not set in the pattern than UTC time zone is used.
So for example json value 2018.01.01 becomes 2018.01.01 00:00:00 UTC when parsed
to instant Instant or ZonedDateTime.
Copyright © 2018 Oracle Corporation. All rights reserved.