@Experimental public interface JSONWrapper extends Comparable<JSONWrapper>
For example,
JSONWrapper wrapper = JSONWrapper.wrapJSON("{ \"name\", \"Xavier\", \"age\", \"35\"});
region.put("key", wrapper);
...
wrapper = region.get("key");
String jsonDoc = wrapper.getJSON();
Modifier and Type | Interface and Description |
---|---|
static class |
JSONWrapper.JSONWrapperImpl |
Modifier and Type | Method and Description |
---|---|
String |
getJSON() |
static JSONWrapper |
wrapJSON(String jsonDocument) |
compareTo
static JSONWrapper wrapJSON(String jsonDocument)
String getJSON()