Class JSONPointer


  • @Deprecated
    public class JSONPointer
    extends Object
    Deprecated.
    JSON pointer implementation.
    • Constructor Detail

      • JSONPointer

        @Deprecated
        public JSONPointer​(Supplier<org.json.JSONObject> documentProvider,
                           String fragment)
        Deprecated.
    • Method Detail

      • forURL

        @Deprecated
        public static final JSONPointer forURL​(SchemaClient schemaClient,
                                               String url)
        Deprecated.
        Static factory method.
        Parameters:
        schemaClient - the client implementation to be used for obtaining the remote raw JSON schema
        url - a complete URL (including protocol definition like "http://"). It may also contain a fragment
        Returns:
        a JSONPointer instance with a document provider created for the URL and the optional fragment specified by the url
      • query

        public JSONPointer.QueryResult query()
        Deprecated.
        Queries from document based on this pointer.
        Returns:
        a DTO containing the query result and the root document containing the query result.
        Throws:
        IllegalArgumentException - if the pointer does not start with '#'.