primitive val _JsonPrint
new val create() : _JsonPrint val^
fun box eq( that: _JsonPrint val) : Bool val
fun box ne( that: _JsonPrint val) : Bool val
Add indentation to the buf to the appropriate indent_level
fun box _indent( buf: String iso, indent: String val, level': USize val) : String iso^
Generate string representation of the given data.
fun box _string( d: (F64 val | I64 val | Bool val | None val | String val | JsonArray box | JsonObject box), buf': String iso, indent: String val, level: USize val, pretty: Bool val) : String iso^
Generate a version of the given string with escapes for all non-printable and non-ASCII characters.
fun box _escaped_string( buf: String iso, s: String val) : String iso^
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/json-_JsonPrint