Package org.spockframework.util
Class JsonWriter
java.lang.Object
org.spockframework.util.JsonWriter
Note: The
writeString(java.lang.Object) and hex(char) methods
are based on code from class StringEscapeUtils in Commons Lang 2.6.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonWriter
-
-
Method Details
-
isPrettyPrint
public boolean isPrettyPrint() -
setPrettyPrint
public void setPrettyPrint(boolean prettyPrint) -
getIndent
-
setIndent
-
write
- Throws:
IOException
-