JSONWrapper (Apache Geode 1.12.3)
Date: 2021-06-11

org.apache.geode.experimental.driver

## Interface JSONWrapper

- All Superinterfaces:
    Comparable<JSONWrapper>
  All Known Implementing Classes:
    JSONWrapper.JSONWrapperImpl

      @Experimental
      public interface JSONWrapper
      extends Comparable<JSONWrapper>

  JSONWrapper is a holder of a JSON document. Use it to wrap your JSON document to store in Geode via the Region API. On the server the document will be stored in PDX serialized form, which is query-capable.

  For example,
  JSONWrapper wrapper = JSONWrapper.wrapJSON("{ \"name\", \"Xavier\", \"age\", \"35\"});
  region.put("key", wrapper);
  ...
  wrapper = region.get("key");
  String jsonDoc = wrapper.getJSON();

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `JSONWrapper.JSONWrapperImpl`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getJSON()`
    `static JSONWrapper` | `wrapJSON(String jsonDocument)`

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Method Detail

    - #### wrapJSON

          static JSONWrapper wrapJSON(String jsonDocument)

    - #### getJSON

          String getJSON()