public static class JsonDeserializationContext.Builder extends Object
| Constructor and Description |
|---|
JsonDeserializationContext.Builder() |
| Modifier and Type | Method and Description |
|---|---|
JsonDeserializationContext |
build() |
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. |
public JsonDeserializationContext.Builder failOnUnknownProperties(boolean failOnUnknownProperties)
JsonDeserializationException) or not.
This setting only takes effect after all other handling
methods for unknown properties have been tried, and
property remains unhandled.
Feature is enabled by default (meaning that a
JsonDeserializationException will be thrown if an unknown property
is encountered).public JsonDeserializationContext build()
Copyright © 2013. All Rights Reserved.