VMware GemFire Java API Reference
Package org.apache.geode.json
Class JsonUtilities
java.lang.Object
org.apache.geode.json.JsonUtilities
This class has static methods that can be used to work with JSON.
-
Method Summary
-
Method Details
-
toJson
Returns a String that contains a JSON representation of the given document.- Parameters:
document- to convert to a JSON string.- Returns:
- the JSON string
- Throws:
JsonParseException- if unable to convert the document to a JSON string.
-