On 12/1/20 10:29 PM, Jeff L wrote:
yajltcl offers the ::yajl::json2dict for conversion of JSON messages into a Tcl native container (which can be used as a dict or array). This is the easiest way to read specific values from within a larger JSON document since you can use normal dict/array operations to navigate the data structure layout.


thank you. I based my knowledge on the documentation available from https://flightaware.github.io/yajl-tcl/ where I found the 'parse' command but not json2dict

The yajltcl command format (array_open/array_close/etc) is not really intended to be consumed or manipulated by anything else directly, though it's possible if your needs are simple enough.



why not? Provided such sequences are a complete mapping of a JSON message DOM you should be able to build the actual inverse map.

 -- M

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to