public class NOCJSONUtil
extends Object
implements Serializable
| Constructor and Description |
|---|
NOCJSONUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
createOrderedJSONObject()
Creates a JSON object that preserves insertion order when serialized.
|
static void |
writeFormattedJSONString(org.json.JSONObject obj,
OutputStream out)
Writes a formatted JSON string to the provided output stream.
|
public static org.json.JSONObject createOrderedJSONObject()
public static void writeFormattedJSONString(org.json.JSONObject obj,
OutputStream out)
obj - The JSON object to write.out - The output stream to write to.