The documentation states "This package adds a command json to the interpreter", but in order for the examples to work you need to first run namespace import ::rl_json::json, unless rl_json is built with the --enable-ensemble option. Suggest you add that line under package require rl_json ?0.17? or mention it elsewhere in the documentation.
The command json bool appears in the synopsis, but it is not a valid command.
The commands in the description are in a different order than the synopsis, making searching difficult.
There are two examples that need to be corrected:
# $doc is {"foo":["elem 0","elem 1","elem 2","elem 3"]} should be
# $doc is {"foo":["elem: 0","elem: 1","elem: 2","elem: 3"]} and
# $doc is {"foo":["elem 3","elem 2","elem 1","elem 0"]} should be
# $doc is {"foo":["elem: 3","elem: 2","elem: 1","elem: 0"]}.
The documentation states "This package adds a command json to the interpreter", but in order for the examples to work you need to first run
namespace import ::rl_json::json, unless rl_json is built with the--enable-ensembleoption. Suggest you add that line underpackage require rl_json ?0.17?or mention it elsewhere in the documentation.The command
json boolappears in the synopsis, but it is not a valid command.The commands in the description are in a different order than the synopsis, making searching difficult.
There are two examples that need to be corrected:
# $doc is {"foo":["elem 0","elem 1","elem 2","elem 3"]}should be# $doc is {"foo":["elem: 0","elem: 1","elem: 2","elem: 3"]}and# $doc is {"foo":["elem 3","elem 2","elem 1","elem 0"]}should be# $doc is {"foo":["elem: 3","elem: 2","elem: 1","elem: 0"]}.