T |
CJson.deserialize(Class<T> classType) |
Deserializes CJSON content and returns Java Object equivalent to classType .
|
String |
CJson.deserializeAsString() |
Deserializes CJSON content and returns as string.
No need to explicitly deserialize CJSON contexts and call this method to get the deserialized String .
|
T |
CJson.inject(Class<T> classType,
String key,
Object value) |
Injects single key and value.
|
T |
CJson.inject(Class<T> classType,
HashMap<String,Object> injectingObj) |
Inject a hashmap to a json object.
|
T |
CJson.remove(String key) |
Removes a key value set from deserialized JSON.
Takes json path as input and returns updated Serialized class.
|
T |
CJson.remove(List<String> keyList) |
Removes a key value set from deserialized JSON.
Takes list of json paths as input and returns updated Serialized class.
|