Package net.minidev.json
Interface JSONAwareEx
-
- All Superinterfaces:
JSONAware
- All Known Implementing Classes:
JSONArray,JSONObject
public interface JSONAwareEx extends JSONAware
Beans that support advanced output of JSON text shall implement this interface.Adding compressions and formating features
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringtoJSONString(JSONStyle compression)Converts this object to JSON string representation with specified compression style.-
Methods inherited from interface net.minidev.json.JSONAware
toJSONString
-
-
-
-
Method Detail
-
toJSONString
java.lang.String toJSONString(JSONStyle compression)
Converts this object to JSON string representation with specified compression style.- Parameters:
compression- the JSON style for formatting- Returns:
- JSON text
-
-