Skip to main content

Module data

Module data 

Source
Expand description

The values the toolkit names itself: Bytes and JsonValue, each mapped to its Flow type by Shaped (abi.md, The value encoding), and JSON text from outside a run, read within the toolkit’s limits.

Structs§

Bytes
Bytes: raw bytes.
DecodeError
Why decoding refused. path and kind are json.DecodeError’s path and problem (stdlib.md); problem says the same for a person. A Tool reply that fails decoding is no answer, and this explains why (abi.md, Decoding).

Enums§

JsonValue
json.Value, std’s enum for raw JSON: its constructors Null, Bool, Number, Text, List and Object in std’s order, an object a Dict<Text, json.Value>.

Functions§

parse_json
Parses JSON text from outside a run, such as an API’s response, within the toolkit’s bounded input limits.