Skip to main content

Module json

Module json 

Source
Expand description

JSON output rendering.

Emits structured JSON to stdout. Used when --format json is specified.

Functionsยง

print_json
Print a serializable value as JSON to stdout.
print_ndjson
Print a value as NDJSON (newline-delimited JSON).