public class PlainJavaJsonProvider
extends com.jayway.jsonpath.spi.impl.AbstractJsonProvider
| Constructor and Description | 
|---|
| PlainJavaJsonProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable | createArray() | 
| Object | createMap() | 
| com.jayway.jsonpath.spi.Mode | getMode() | 
| Object | getProperty(Object obj,
           Object key) | 
| Collection<String> | getPropertyKeys(Object obj) | 
| boolean | isArray(Object obj) | 
| boolean | isContainer(Object obj) | 
| boolean | isMap(Object obj) | 
| int | length(Object obj) | 
| Object | parse(InputStream jsonStream) | 
| Object | parse(Reader jsonReader) | 
| Object | parse(String json) | 
| void | setProperty(Object obj,
           Object key,
           Object value) | 
| void | setValueToWrite(Object valueToWrite) | 
| Iterable<Object> | toIterable(Object obj) | 
| String | toJson(Object obj) | 
public void setValueToWrite(Object valueToWrite)
public com.jayway.jsonpath.spi.Mode getMode()
public Object parse(String json) throws com.jayway.jsonpath.InvalidJsonException
com.jayway.jsonpath.InvalidJsonExceptionpublic Object parse(Reader jsonReader) throws com.jayway.jsonpath.InvalidJsonException
com.jayway.jsonpath.InvalidJsonExceptionpublic Object parse(InputStream jsonStream) throws com.jayway.jsonpath.InvalidJsonException
com.jayway.jsonpath.InvalidJsonExceptionpublic Object createMap()
public Iterable createArray()
public boolean isArray(Object obj)
isArray in interface com.jayway.jsonpath.spi.JsonProviderisArray in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderpublic boolean isContainer(Object obj)
isContainer in interface com.jayway.jsonpath.spi.JsonProviderisContainer in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderpublic boolean isMap(Object obj)
isMap in interface com.jayway.jsonpath.spi.JsonProviderisMap in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderpublic Object getProperty(Object obj, Object key)
getProperty in interface com.jayway.jsonpath.spi.JsonProvidergetProperty in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderpublic void setProperty(Object obj, Object key, Object value)
setProperty in interface com.jayway.jsonpath.spi.JsonProvidersetProperty in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderpublic Collection<String> getPropertyKeys(Object obj)
getPropertyKeys in interface com.jayway.jsonpath.spi.JsonProvidergetPropertyKeys in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderpublic int length(Object obj)
length in interface com.jayway.jsonpath.spi.JsonProviderlength in class com.jayway.jsonpath.spi.impl.AbstractJsonProviderCopyright © 2019. All Rights Reserved.