public interface LimitFilter
BuilderLimits
class to the StructureBuilder implementations.| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptField(java.lang.String fieldName,
JSONStreamReader.ParseState state,
SizedIterable<StructureIdentifier> ids)
Determine whether to accept or reject a value within an object.
|
boolean |
acceptIndex(int index,
JSONStreamReader.ParseState state,
SizedIterable<StructureIdentifier> ids)
Determine whether to accept or reject a value within an array.
|
boolean acceptIndex(int index,
JSONStreamReader.ParseState state,
SizedIterable<StructureIdentifier> ids)
index - the array index within the current arraystate - the type of value that will be builtids - can be used to construct a JSON Pointer expression, or
determine the depth of the current structuretrue to allow the value to be created, otherwise
false to skip the valueJSONPointerUtils.toJSONPointer(Iterable)boolean acceptField(java.lang.String fieldName,
JSONStreamReader.ParseState state,
SizedIterable<StructureIdentifier> ids)
fieldName - the key name within the current objectstate - the type of value that will be builtids - can be used to construct a JSON Pointer expression, or
determine the depth of the current structuretrue to allow the value to be created, otherwise
false to skip the valueJSONPointerUtils.toJSONPointer(Iterable)