@Deprecated public class JSONPointer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JSONPointer.QueryResult
Deprecated.
Data-transfer object for holding the result of a JSON pointer query.
|
Constructor and Description |
---|
JSONPointer(Supplier<org.json.JSONObject> documentProvider,
String fragment)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JSONPointer |
forDocument(org.json.JSONObject document,
String fragment)
Deprecated.
|
static JSONPointer |
forURL(SchemaClient schemaClient,
String url)
Deprecated.
|
JSONPointer.QueryResult |
query()
Deprecated.
Queries from
document based on this pointer. |
@Deprecated public JSONPointer(Supplier<org.json.JSONObject> documentProvider, String fragment)
@Deprecated public static final JSONPointer forDocument(org.json.JSONObject document, String fragment)
@Deprecated public static final JSONPointer forURL(SchemaClient schemaClient, String url)
schemaClient
- the client implementation to be used for obtaining the remote raw JSON schemaurl
- a complete URL (including protocol definition like "http://"). It may also contain a
fragmenturl
public JSONPointer.QueryResult query()
document
based on this pointer.IllegalArgumentException
- if the pointer does not start with '#'
.Copyright © 2019 Everit Kft.. All rights reserved.