Class JSONPointer

java.lang.Object
org.everit.json.schema.loader.internal.JSONPointer

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

  • Method Details

    • forDocument

      @Deprecated public static final JSONPointer forDocument(org.json.JSONObject document, String fragment)
      Deprecated.
    • 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 '#'.