public class JsonPointerIteratorWithLoader extends JsonPointerIteratorImpl
JSON_ITERATOR| Constructor and Description |
|---|
JsonPointerIteratorWithLoader(OpenAPIHolder loader) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObjectParameter(Object value,
String key,
boolean createOnMissing)
Returns the object parameter with specified key.
|
boolean |
objectContainsKey(Object value,
String key) |
appendArrayElement, getArrayElement, isArray, isNull, isObject, writeArrayElement, writeObjectParameterpublic JsonPointerIteratorWithLoader(OpenAPIHolder loader)
public boolean objectContainsKey(Object value, String key)
objectContainsKey in interface JsonPointerIteratorobjectContainsKey in class JsonPointerIteratorImplkey - object keytrue if current value is a queryable object that contains the specified keypublic Object getObjectParameter(Object value, String key, boolean createOnMissing)
JsonPointerIteratorgetObjectParameter in interface JsonPointerIteratorgetObjectParameter in class JsonPointerIteratorImplkey - object keycreateOnMissing - If the current value is an object that doesn't contain the key, put an empty object at provided keyCopyright © 2021. All rights reserved.