Append this object on an OutputStream as UTF-8 using stringify
.
Append this object on an OutputStream as UTF-8 using stringify
.
Append this object to a UTF-8 encoded file using stringify
.
Append this object to a UTF-8 encoded file using stringify
.
Append this object to a UTF-8 encoded file using stringify
.
Append this object to a UTF-8 encoded file using stringify
.
Convert this object into a serialized JSON string.
Convert this object into a serialized JSON string. The toString
method is not a synonym: toString
shows structure and stringify
serializes.
Write this object to a UTF-8 encoded file using stringify
.
Write this object to a UTF-8 encoded file using stringify
.
Write this object to a UTF-8 encoded file using stringify
.
Write this object to a UTF-8 encoded file using stringify
.
Concrete class for JSON strings.
Note: the strings
"-inf"
,"inf"
, and"nan"
can be interpreted as numbers by org.dianahep.histogrammar.json.JsonNumber. IfJsonNumber
parsing is attempted beforeJsonString
in anorElse
chain, these three values would become numbers; otherwise they would become strings. Standard parsing (provided by the org.dianahep.histogrammar.json.JsonPrimitive and org.dianahep.histogrammar.json.Json objects) attempts to interpret them as numbers first.