Package jsonrpc writes and reads the JSON-RPC 2.0 request envelope. A
JSON-RPC request in Flowi is an ordinary HTTP request whose JSON body is
this envelope, so it carries headers, auth, hooks and checks like any
other; this package is what an editor and the OpenRPC importer share.
Envelope writes c as the JSON body to send, indented. An ID of digits is
written as a number, any other as a string. Params that do not parse yet
(a {{template}} outside quotes) are written as typed.
Call is a JSON-RPC request. Params is the JSON text of the parameters (an
array or an object; it may hold {{templates}}), empty for none. ID is a
number or a text; empty makes the call a notification, which has no id and
gets no answer.
Parse reads a JSON-RPC 2.0 request envelope. ok is false for anything
else: text that is not JSON, not an object, or without "jsonrpc": "2.0" and
a method name.