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.StringINDENTprivate static intMODE_BETWEENprivate static intMODE_DOUBLEprivate static intMODE_ESCAPE_DOUBLEprivate static intMODE_ESCAPE_SINGLEprivate static intMODE_SINGLEprivate static java.lang.StringNEW_LINE
-
Constructor Summary
Constructors Constructor Description JsonFormatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voidappendIndent(java.lang.StringBuilder sb, int count)static java.lang.StringprettyPrint(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
-
-