Uses of Class
net.minidev.json.JSONStyle
Packages that use JSONStyle
-
Uses of JSONStyle in net.minidev.json
Fields in net.minidev.json declared as JSONStyleModifier and TypeFieldDescriptionstatic JSONStyleJSONValue.COMPRESSIONGlobal default compression typestatic final JSONStyleJSONStyle.LT_COMPRESSstatic final JSONStyleJSONStyle.MAX_COMPRESSstatic final JSONStyleJSONStyle.NO_COMPRESSMethods in net.minidev.json with parameters of type JSONStyleModifier and TypeMethodDescriptionstatic StringReformat Json input keeping element orderstatic voidJSONValue.escape(String s, Appendable ap, JSONStyle compression) static StringEscape 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.JSONArray.toJSONString(JSONStyle compression) JSONAwareEx.toJSONString(JSONStyle compression) Converts this object to JSON string representation with specified compression style.static StringJSONObject.toJSONString(Map<String, ? extends Object> map, JSONStyle compression) Convert a map to JSON text.JSONObject.toJSONString(JSONStyle compression) static StringJSONValue.toJSONString(Object value, JSONStyle compression) Convert an object to JSON text.JSONAwareEx interfacereturn the Object as a Json Stringstatic voidEncode 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) JSONStreamAwareEx interfacestatic 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 JSONStyleModifier and TypeMethodDescriptionstatic 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 JSONStyleModifierConstructorDescriptionCompessorMapper(JsonReader base, Appendable out, JSONStyle compression) CompessorMapper(JsonReader base, Appendable out, JSONStyle compression, Boolean isObj)