public class JsonStructureOptions extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
allowNanInf
Allow Infinity and NaN for float values.
|
boolean |
enableEscapeAnyChar |
boolean |
skipMalformedDocument
This property works only when
skipMalformedRecords enabled. |
boolean |
skipMalformedRecords
If true, the structure parser will attempt to recover from JSON syntax
errors by starting over at the next record boundary.
|
boolean |
skipOuterList
Describes whether or not this reader can unwrap a single root array record
and treat it like a set of distinct records.
|
Constructor and Description |
---|
JsonStructureOptions() |
JsonStructureOptions(OptionSet options) |
public boolean allowNanInf
public boolean skipOuterList
public boolean skipMalformedRecords
public boolean skipMalformedDocument
skipMalformedRecords
enabled.
If true, TokenIterator.RecoverableJsonException
will be populated for the case of
malformed empty document, so it will be possible to handle this exception by caller.public boolean enableEscapeAnyChar
public JsonStructureOptions()
public JsonStructureOptions(OptionSet options)
Copyright © 1970 The Apache Software Foundation. All rights reserved.