Uses of Class
net.minidev.json.JSONStyle
-
Packages that use JSONStyle Package Description net.minidev.json net.minidev.json.reader net.minidev.json.writer -
-
Uses of JSONStyle in net.minidev.json
Fields in net.minidev.json declared as JSONStyle Modifier and Type Field Description static JSONStyleJSONValue. COMPRESSIONGlobal default compression typestatic JSONStyleJSONStyle. LT_COMPRESSstatic JSONStyleJSONStyle. MAX_COMPRESSstatic JSONStyleJSONStyle. NO_COMPRESSMethods in net.minidev.json with parameters of type JSONStyle Modifier and Type Method Description static StringJSONValue. compress(String input, JSONStyle style)Reformat Json input keeping element orderstatic voidJSONValue. escape(String s, Appendable ap, JSONStyle compression)static StringJSONValue. escape(String s, JSONStyle compression)Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).static StringJSONArray. toJSONString(List<? extends Object> list, JSONStyle compression)Convert a list to JSON text.StringJSONArray. toJSONString(JSONStyle compression)StringJSONAwareEx. toJSONString(JSONStyle compression)static StringJSONObject. toJSONString(Map<String,? extends Object> map, JSONStyle compression)Convert a map to JSON text.StringJSONObject. toJSONString(JSONStyle compression)static StringJSONValue. toJSONString(Object value, JSONStyle compression)Convert an object to JSON text.StringJSONArray. toString(JSONStyle compression)JSONAwareEx interfaceStringJSONNavi. toString(JSONStyle compression)return the Object as a Json StringStringJSONObject. toString(JSONStyle compression)static voidJSONObject. writeJSON(Map<String,? extends Object> map, Appendable out, JSONStyle compression)Encode a map into JSON text and write it to out.static voidJSONObject. writeJSONKV(String key, Object value, Appendable out, JSONStyle compression)Write a Key : value entry to a streamvoidJSONArray. writeJSONString(Appendable out, JSONStyle compression)static voidJSONArray. writeJSONString(Iterable<? extends Object> list, Appendable out, JSONStyle compression)Encode a list into JSON text and write it to out.voidJSONObject. writeJSONString(Appendable out, JSONStyle compression)serialize Object as json to an streamvoidJSONStreamAwareEx. writeJSONString(Appendable out, JSONStyle compression)write JSON string to out.static voidJSONValue. writeJSONString(Object value, Appendable out, JSONStyle compression)Encode an object into JSON text and write it to out. -
Uses of JSONStyle in net.minidev.json.reader
Methods in net.minidev.json.reader with parameters of type JSONStyle Modifier and Type Method Description static voidJsonWriter. writeJSONKV(String key, Object value, Appendable out, JSONStyle compression)Write a Key : value entry to a stream<E> voidArrayWriter. writeJSONString(E value, Appendable out, JSONStyle compression)<E> voidBeansWriter. writeJSONString(E value, Appendable out, JSONStyle compression)<E> voidBeansWriterASM. writeJSONString(E value, Appendable out, JSONStyle compression)<E> voidBeansWriterASMRemap. writeJSONString(E value, Appendable out, JSONStyle compression)<E extends T>
voidJsonWriterI. writeJSONString(E value, Appendable out, JSONStyle compression) -
Uses of JSONStyle in net.minidev.json.writer
Constructors in net.minidev.json.writer with parameters of type JSONStyle Constructor Description CompessorMapper(JsonReader base, Appendable out, JSONStyle compression)CompessorMapper(JsonReader base, Appendable out, JSONStyle compression, Boolean isObj)
-