| Package | Description |
|---|---|
| com.github.nmorel.gwtjackson.client |
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonDeserializationContext.DefaultBuilder |
| Modifier and Type | Method and Description |
|---|---|
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.acceptSingleValueAsArray(boolean acceptSingleValueAsArray)
Feature that determines whether it is acceptable to coerce non-array
(in JSON) values to work with Java collection (arrays, java.util.Collection)
types.
|
static JsonDeserializationContext.Builder |
JsonDeserializationContext.builder() |
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.failOnUnknownProperties(boolean failOnUnknownProperties)
Determines whether encountering of unknown
properties (ones that do not map to a property, and there is
no "any setter" or handler that can handle it)
should result in a failure (by throwing a
JsonDeserializationException) or not. |
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.readUnknownEnumValuesAsNull(boolean readUnknownEnumValuesAsNull)
Feature that determines whether gwt-jackson should return null for unknown enum values.
|
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.unwrapRootValue(boolean unwrapRootValue)
Feature to allow "unwrapping" root-level JSON value, to match setting of
JsonSerializationContext.Builder.wrapRootValue(boolean) used for serialization. |
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.useBrowserTimezone(boolean useBrowserTimezone)
Feature that specifies whether dates that doesn't contain timezone information
are interpreted using the browser timezone or being relative to UTC (the default).
|
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.useSafeEval(boolean useSafeEval)
Feature that determines whether gwt-jackson should use
JsonUtils.safeEval(String) or JsonUtils.unsafeEval(String)
to deserialize JavaScriptObject
JsonUtils.safeEval(String) is used by default. |
JsonDeserializationContext.Builder |
JsonDeserializationContext.Builder.wrapExceptions(boolean wrapExceptions)
Feature that determines whether gwt-jackson code should catch
and wrap
RuntimeExceptions (but never Errors!)
to add additional information about
location (within input) of problem or not. |
Copyright © 2016. All Rights Reserved.