baml.json.stringify_pretty

Serializes a `json` value to indented JSON text.

Reference version

Signature

function baml.json.stringify_pretty(j: baml.json.json) -> string throws never

Serializes a json value to indented JSON text.

The same value mapping as stringify, non-finite floats included; only the layout differs.

Source:<builtin>/baml/ns_json/json.bamlbytes 2818–2898