Package net.minidev.json
Interface JSONAwareEx
- All Superinterfaces:
JSONAware
- All Known Implementing Classes:
JSONArray
,JSONObject
Beans that support advanced output of JSON text shall implement this interface.
Adding compressions and formating features
- Author:
- Uriel Chemouni <[email protected]>
-
Method Summary
Modifier and TypeMethodDescriptiontoJSONString
(JSONStyle compression) Converts this object to JSON string representation with specified compression style.Methods inherited from interface net.minidev.json.JSONAware
toJSONString
-
Method Details
-
toJSONString
Converts this object to JSON string representation with specified compression style.- Parameters:
compression
- the JSON style for formatting- Returns:
- JSON text
-