Class 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 Detail

      • INSTANCE

        public static final com.jayway.jsonpath.spi.json.JsonProvider INSTANCE
        An immutable instance of this provider.
    • Constructor Detail

      • FastJsonProvider

        public FastJsonProvider()
    • Method Detail

      • createArray

        public Object createArray()
      • createMap

        public Object createMap()
      • parse

        public Object parse​(InputStream jsonStream,
                            String charset)
                     throws com.jayway.jsonpath.InvalidJsonException
        Throws:
        com.jayway.jsonpath.InvalidJsonException
      • parse

        public Object parse​(String json)
                     throws com.jayway.jsonpath.InvalidJsonException
        Throws:
        com.jayway.jsonpath.InvalidJsonException