json
wscript stdlib module
JSON parse / serialize over the Value type; deterministic (sorted keys) output.
use json — JSON over the Value type. Available in config-weave scripts (unlike wscript-std's math/process/xml).
| function | signature |
|---|---|
| parse | (string) -> Result[Value, string] |
| to_string | (Value) -> string (keys sorted — deterministic) |
| to_string_pretty | (Value) -> string |