|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JSONStyle | |
---|---|
net.minidev.json | |
net.minidev.json.parser |
Uses of JSONStyle in net.minidev.json |
---|
Subclasses of JSONStyle in net.minidev.json | |
---|---|
class |
JSONStyler
This class is used to format JSon output, fot a better humain readability |
Fields in net.minidev.json declared as JSONStyle | |
---|---|
static JSONStyle |
JSONValue.COMPRESSION
Global default compression type |
static JSONStyle |
JSONStyle.LT_COMPRESS
|
static JSONStyle |
JSONStyle.MAX_COMPRESS
|
static JSONStyle |
JSONStyle.NO_COMPRESS
|
Methods in net.minidev.json with parameters of type JSONStyle | |
---|---|
static String |
JSONValue.compress(String input,
JSONStyle style)
Reformat Json input keeping element order |
static 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). |
String |
JSONObject.toJSONString(JSONStyle compression)
|
String |
JSONArray.toJSONString(JSONStyle compression)
|
String |
JSONAwareEx.toJSONString(JSONStyle compression)
|
static String |
JSONArray.toJSONString(List<? extends Object> list,
JSONStyle compression)
Convert a list to JSON text. |
static String |
JSONObject.toJSONString(Map<String,? extends Object> map,
JSONStyle compression)
Convert a map to JSON text. |
static String |
JSONValue.toJSONString(Object value,
JSONStyle compression)
Convert an object to JSON text. |
String |
JSONObject.toString(JSONStyle compression)
|
String |
JSONArray.toString(JSONStyle compression)
JSONAwareEx inferface |
String |
JSONNavi.toString(JSONStyle compression)
return the Object as a Json String |
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 stream |
void |
JSONStreamAwareEx.writeJSONString(Appendable out,
JSONStyle compression)
write JSON string to out. |
void |
JSONObject.writeJSONString(Appendable out,
JSONStyle compression)
serialize Object as json to an stream |
void |
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. |
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.parser |
---|
Constructors in net.minidev.json.parser with parameters of type JSONStyle | |
---|---|
ContentHandlerCompressor(Appendable out,
JSONStyle compression)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |