Hi,
parse-json has two args and the second can set the option jsoniq-multiple-top-level-items to parse multiple items or do not.
json-doc does not have that 2nd option, so you do not know what happens with multiple items.
It probably should be added.
If it parses multiple items, you cannot pass all the tests circulating from
http://seriot.ch/parsing_json.html Best,
Benito