JSONValue.toPrettyString

Implicitly calls toJSON on this JSONValue, like toString, but also passes true as pretty argument.

options can be used to tweak the conversion behavior

  1. string toPrettyString(JSONOptions options)
    struct JSONValue
    const @safe
    string
    toPrettyString
  2. void toPrettyString(Out sink, JSONOptions options)

Meta