august.json
Install this source library with aug add https://github.com/GreenPandaStudios/augscript/src/stdlib/json --as json, then import its public names from json.
Signatures show result types and checked errors. See packages to pin a release and language constructs for built-in types.
parse
text
parse(string input) returns Json unless JsonErrorParse strict UTF-8 JSON. Duplicate keys, invalid Unicode, oversized integers, and nesting beyond 64 levels raise JsonError.
parseCompatible
text
parseCompatible(string input) returns Json unless JsonErrorParse an existing JavaScript-style envelope: duplicate keys use their last value, numbers round to binary64, and nesting is bounded at 4096 levels. Invalid JSON or Unicode raises JsonError. Keep original legacy JSON strings for wire hashes; do not reserialize them. The strict parse function retains its own contract.