public class JsonPathContextImpl extends java.lang.Object implements JsonPathContext
Constructor and Description |
---|
JsonPathContextImpl(JsonManager manager) |
JsonPathContextImpl(JsonManager manager,
JsonStructure jsonObject) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String path) |
java.sql.Date |
getDate(java.lang.String path) |
double |
getDouble(java.lang.String path,
double defaultValue) |
float |
getFloat(java.lang.String path,
float defaultValue) |
int |
getInt(java.lang.String path,
int defaultValue) |
JsonArray |
getJsonArray(java.lang.String path) |
JsonStructure |
getJsonObject() |
JsonObject |
getJsonObject(java.lang.String path) |
long |
getLong(java.lang.String path,
long defaultValue) |
java.sql.Time |
getTime(java.lang.String path) |
java.sql.Timestamp |
getTimestamp(java.lang.String path) |
void |
setJsonObject(JsonStructure jsonObject) |
public JsonPathContextImpl(JsonManager manager)
public JsonPathContextImpl(JsonManager manager, JsonStructure jsonObject)
public JsonStructure getJsonObject()
getJsonObject
in interface JsonPathContext
public void setJsonObject(JsonStructure jsonObject)
setJsonObject
in interface JsonPathContext
public java.lang.Object get(java.lang.String path)
get
in interface JsonPathContext
public int getInt(java.lang.String path, int defaultValue)
getInt
in interface JsonPathContext
public long getLong(java.lang.String path, long defaultValue)
getLong
in interface JsonPathContext
public double getDouble(java.lang.String path, double defaultValue)
getDouble
in interface JsonPathContext
public float getFloat(java.lang.String path, float defaultValue)
getFloat
in interface JsonPathContext
public java.sql.Date getDate(java.lang.String path)
getDate
in interface JsonPathContext
public java.sql.Time getTime(java.lang.String path)
getTime
in interface JsonPathContext
public java.sql.Timestamp getTimestamp(java.lang.String path)
getTimestamp
in interface JsonPathContext
public JsonObject getJsonObject(java.lang.String path)
getJsonObject
in interface JsonPathContext
public JsonArray getJsonArray(java.lang.String path)
getJsonArray
in interface JsonPathContext