# JSON
This is a [Tomo](https://tomo.bruce-hill.com) library for encoding/decoding
JSON values.
## Usage
```tomo
>>j:=JSON({"key1"=123,"key2"=[yes,{"ok"="inner"},JSON.Null]})= JSON.Object({"key1"=Number(123), "key2"=Array([Boolean(yes), Object({"ok"=String("inner")}), Null])})say("$(j.encode())")say("$(j.pretty_print())")whenJSON.parse("[1, null, true]")isSuccess(obj)>>objisFailure(msg)fail("Failed to parse JSON: $msg")```