Package | Description |
---|---|
net.minidev.json | |
net.minidev.json.reader | |
net.minidev.json.writer |
Modifier and Type | Field and Description |
---|---|
static JSONStyle |
JSONValue.COMPRESSION
Global default compression type
|
static JSONStyle |
JSONStyle.LT_COMPRESS |
static JSONStyle |
JSONStyle.MAX_COMPRESS |
static JSONStyle |
JSONStyle.NO_COMPRESS |
Modifier and Type | Method and Description |
---|---|
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 |
JSONAwareEx.toJSONString(JSONStyle compression) |
String |
JSONArray.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 |
JSONObject.writeJSONString(Appendable out,
JSONStyle compression)
serialize Object as json to an stream
|
void |
JSONStreamAwareEx.writeJSONString(Appendable out,
JSONStyle compression)
write JSON string to out.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
JsonWriter.writeJSONKV(String key,
Object value,
Appendable out,
JSONStyle compression)
Write a Key : value entry to a stream
|
<E extends T> |
JsonWriterI.writeJSONString(E value,
Appendable out,
JSONStyle compression) |
Constructor and Description |
---|
CompessorMapper(JsonReader base,
Appendable out,
JSONStyle compression) |
CompessorMapper(JsonReader base,
Appendable out,
JSONStyle compression,
Boolean isObj) |
Copyright © 2014 Chemouni Uriel. All Rights Reserved.