Construct a PrettyJsonBuilder
Construct a PrettyJsonBuilder
the amount whitespace to insert between tokens
The output will only contain characters that can be encoded using the specified charset. Any characters outside the charset will be u-escaped. Default is to keep all characters that are allowed by Json. There may be problems if the charset does not include at least ASCII characters.
the indentation level of this builder instance
Add a key-value pair to folding
Add a key-value pair to folding
The key is key
, and the value is the result of com.rayrobdod.json.parser.Parser.parse on the provided input
.
the object to be added to. Must be either the return value of init or the return value of apply
the key of a key-value pair
a parser for turning input into a value
Change the type of value that this builder requires, with the option of indicating an error condition
Change the type of value that this builder requires, with the option of indicating an error condition
3.0
An 'empty' object to be used to start the folding process
An 'empty' object to be used to start the folding process
Change the type of key that this builder requires
Change the type of key that this builder requires
a conversion function from the new key to this's key
3.0
Change the type of value that this builder requires
Change the type of value that this builder requires
a conversion function from the new value to this's value
3.0
A builder whose output is a json-formatted string.
3.0
http://json.org/