keen/json
SourceThis is a standard module
and does not need to be explicitly imported.
json record (has private fields)deserialize-error recordjson-simplified unionnull record (has private fields)list-new json(args json[])If no arguments are passed this is
null. Otherwise it is a JSON array. For an empty JSON array, use ()::json[] tosubscript json(a json, key symbol)If a is an object containing the key key, returns the associated value. Returns null if any of these is true: * a is not an object. * a is an object, but does not have key. * a is an object with the key, and its value is null.
Most code does not care about this distinction. If you do, you can test if a.simplify map or if a has-key key.
simplify.