_JsonPrint

primitive val _JsonPrint

Constructors

create

new val create()
: _JsonPrint val^

Returns


Public Functions

eq

fun box eq(
  that: _JsonPrint val)
: Bool val

Parameters

Returns


ne

fun box ne(
  that: _JsonPrint val)
: Bool val

Parameters

Returns


Private Functions

_indent

Add indentation to the buf to the appropriate indent_level

fun box _indent(
  buf: String iso,
  indent: String val,
  level': USize val)
: String iso^

Parameters

Returns


_string

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^

Parameters

Returns


_escaped_string

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^

Parameters

Returns