Package de.xima.fc.fastjson
Class FastJsonProvider
java.lang.Object
com.jayway.jsonpath.spi.json.AbstractJsonProvider
de.xima.fc.fastjson.FastJsonProvider
- All Implemented Interfaces:
com.jayway.jsonpath.spi.json.JsonProvider
- Direct Known Subclasses:
ReflectionFastJsonProvider
@Immutable
public class FastJsonProvider
extends com.jayway.jsonpath.spi.json.AbstractJsonProvider
A
JsonProvider
for JSON
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.jayway.jsonpath.spi.json.JsonProvider
An immutable instance of this provider.Fields inherited from interface com.jayway.jsonpath.spi.json.JsonProvider
UNDEFINED
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jayway.jsonpath.spi.json.AbstractJsonProvider
getArrayIndex, getArrayIndex, getMapValue, getPropertyKeys, isArray, isMap, length, removeProperty, setArrayIndex, setProperty, toIterable, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.jayway.jsonpath.spi.json.JsonProvider
parse
-
Field Details
-
INSTANCE
public static final com.jayway.jsonpath.spi.json.JsonProvider INSTANCEAn immutable instance of this provider.
-
-
Constructor Details
-
FastJsonProvider
public FastJsonProvider()
-
-
Method Details
-
createArray
-
createMap
-
parse
public Object parse(InputStream jsonStream, String charset) throws com.jayway.jsonpath.InvalidJsonException - Throws:
com.jayway.jsonpath.InvalidJsonException
-
parse
- Throws:
com.jayway.jsonpath.InvalidJsonException
-
toJson
-