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 JSONStyle
JSONValue. COMPRESSION
Global default compression typestatic JSONStyle
JSONStyle. LT_COMPRESS
static JSONStyle
JSONStyle. MAX_COMPRESS
static JSONStyle
JSONStyle. NO_COMPRESS
Methods in net.minidev.json with parameters of type JSONStyle Modifier and Type Method Description static String
JSONValue. compress(String input, JSONStyle style)
Reformat Json input keeping element orderstatic void
JSONValue. escape(String s, Appendable ap, JSONStyle compression)
static String
JSONValue. escape(String s, JSONStyle compression)
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).static String
JSONArray. toJSONString(List<? extends Object> list, JSONStyle compression)
Convert a list to JSON text.String
JSONArray. toJSONString(JSONStyle compression)
String
JSONAwareEx. toJSONString(JSONStyle compression)
static String
JSONObject. toJSONString(Map<String,? extends Object> map, JSONStyle compression)
Convert a map to JSON text.String
JSONObject. toJSONString(JSONStyle compression)
static String
JSONValue. toJSONString(Object value, JSONStyle compression)
Convert an object to JSON text.String
JSONArray. toString(JSONStyle compression)
JSONAwareEx interfaceString
JSONNavi. toString(JSONStyle compression)
return the Object as a Json StringString
JSONObject. toString(JSONStyle compression)
static void
JSONObject. writeJSON(Map<String,? extends Object> map, Appendable out, JSONStyle compression)
Encode a map into JSON text and write it to out.static void
JSONObject. writeJSONKV(String key, Object value, Appendable out, JSONStyle compression)
Write a Key : value entry to a streamvoid
JSONArray. writeJSONString(Appendable out, JSONStyle compression)
static void
JSONArray. writeJSONString(Iterable<? extends Object> list, Appendable out, JSONStyle compression)
Encode a list into JSON text and write it to out.void
JSONObject. writeJSONString(Appendable out, JSONStyle compression)
serialize Object as json to an streamvoid
JSONStreamAwareEx. writeJSONString(Appendable out, JSONStyle compression)
write JSON string to out.static void
JSONValue. 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 void
JsonWriter. writeJSONKV(String key, Object value, Appendable out, JSONStyle compression)
Write a Key : value entry to a stream<E> void
ArrayWriter. writeJSONString(E value, Appendable out, JSONStyle compression)
<E> void
BeansWriter. writeJSONString(E value, Appendable out, JSONStyle compression)
<E> void
BeansWriterASM. writeJSONString(E value, Appendable out, JSONStyle compression)
<E> void
BeansWriterASMRemap. 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)
-