public final class JsonConvertOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonConvertOptions.Builder
Builder for constructing a convert options objects
|
Modifier and Type | Field and Description |
---|---|
static JsonConvertOptions |
DEFAULT
Default JsonConvertOptions filled with the default values as defined in ConfigKey
|
Modifier and Type | Method and Description |
---|---|
int |
getCollectionSizeTruncated(int pCollectionSize)
Get the size of the collection taking into account the maximum size of a collection allowed.
|
ValueFaultHandler |
getValueFaultHandler()
Get the configure fault handler which determines, how extractions fault are dealt with
|
boolean |
maxDepthReached(int pDepth)
Check whether the maximum depth has been reached
|
boolean |
maxObjectExceeded(int pObjectCount)
Check whether the maximum number of objects has been exceeded
|
public static final JsonConvertOptions DEFAULT
public boolean maxDepthReached(int pDepth)
pDepth
- current depth to checkpublic boolean maxObjectExceeded(int pObjectCount)
pObjectCount
- count to checkpublic int getCollectionSizeTruncated(int pCollectionSize)
pCollectionSize
- collection size to checkpublic ValueFaultHandler getValueFaultHandler()
Copyright © 2017. All rights reserved.