Package com.jayway.jsonpath.internal
Class JsonFormatter
- java.lang.Object
-
- com.jayway.jsonpath.internal.JsonFormatter
-
public class JsonFormatter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
INDENT
private static int
MODE_BETWEEN
private static int
MODE_DOUBLE
private static int
MODE_ESCAPE_DOUBLE
private static int
MODE_ESCAPE_SINGLE
private static int
MODE_SINGLE
private static java.lang.String
NEW_LINE
-
Constructor Summary
Constructors Constructor Description JsonFormatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
appendIndent(java.lang.StringBuilder sb, int count)
static java.lang.String
prettyPrint(java.lang.String input)
-
-
-
Field Detail
-
INDENT
private static final java.lang.String INDENT
- See Also:
- Constant Field Values
-
NEW_LINE
private static final java.lang.String NEW_LINE
-
MODE_SINGLE
private static final int MODE_SINGLE
- See Also:
- Constant Field Values
-
MODE_DOUBLE
private static final int MODE_DOUBLE
- See Also:
- Constant Field Values
-
MODE_ESCAPE_SINGLE
private static final int MODE_ESCAPE_SINGLE
- See Also:
- Constant Field Values
-
MODE_ESCAPE_DOUBLE
private static final int MODE_ESCAPE_DOUBLE
- See Also:
- Constant Field Values
-
MODE_BETWEEN
private static final int MODE_BETWEEN
- See Also:
- Constant Field Values
-
-