public class JSONStyle extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_AGRESSIVE |
static int |
FLAG_PROTECT_4WEB |
static int |
FLAG_PROTECT_KEYS |
static int |
FLAG_PROTECT_VALUES |
static JSONStyle |
MAX_COMPRESS |
static JSONStyle |
NO_COMPRESS |
| Modifier and Type | Method and Description |
|---|---|
void |
escape(String s,
Appendable out) |
boolean |
indent() |
boolean |
mustProtectKey(String s) |
boolean |
mustProtectValue(String s) |
boolean |
protect4Web() |
boolean |
protectKeys() |
boolean |
protectValues() |
public static final int FLAG_PROTECT_KEYS
public static final int FLAG_PROTECT_4WEB
public static final int FLAG_PROTECT_VALUES
public static final int FLAG_AGRESSIVE
public static final JSONStyle NO_COMPRESS
public static final JSONStyle MAX_COMPRESS
public boolean protectKeys()
public boolean protectValues()
public boolean protect4Web()
public boolean indent()
public boolean mustProtectKey(String s)
public boolean mustProtectValue(String s)
public void escape(String s, Appendable out)
Copyright © 2013 Chemouni Uriel. All Rights Reserved.