nodeFromJson function
The node of json (export form accepted: .priority, .value; other keys starting with .
ignored), with priority when given.
Numbers are kept as given (server data: 1.0, -0.0 and large integers stay as they are).
A List is read as a map of its indices (null entries skipped), like JS's array branch, but
built in linear time like the object branch.
A name that occurs many times in json (the field names of a list of records) gets one
ChildKey and one string for the whole call. The table lives for this call only: it cannot
grow without bound and nothing is shared between two messages or two databases.
Implementation
Node nodeFromJson(Object? json, [Object? priority]) =>
_nodeFromJson(json, priority, null);