Uses of Class
org.json.JSONPointer

  • Uses of JSONPointer in org.json

    Methods in org.json that return JSONPointer 
    Modifier and Type Method Description
    JSONPointer JSONPointer.Builder.build()
    Creates a JSONPointer instance using the tokens previously set using the JSONPointer.Builder.append(String) method calls.
    Methods in org.json with parameters of type JSONPointer 
    Modifier and Type Method Description
    java.lang.Object JSONArray.optQuery​(JSONPointer jsonPointer)
    Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
    java.lang.Object JSONObject.optQuery​(JSONPointer jsonPointer)
    Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
    java.lang.Object JSONArray.query​(JSONPointer jsonPointer)
    Uses a user initialized JSONPointer and tries to match it to an item within this JSONArray.
    java.lang.Object JSONObject.query​(JSONPointer jsonPointer)
    Uses a user initialized JSONPointer and tries to match it to an item within this JSONObject.