Re: json parser in yajltcl

2020-12-02 Thread Jeff L
json2dict is mentioned in the quick reference section of the README.md file in the repo: https://github.com/flightaware/yajl-tcl There's no particular technical reason why you can't parse/manipulate the command format sequence, but it's just not as convenient to do because of the nature of the dat

Re: json parser in yajltcl

2020-12-02 Thread Massimo Manghi
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 oper

Re: json parser in yajltcl

2020-12-01 Thread Jeff L
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 l

Re: json parser in yajltcl

2020-12-01 Thread Massimo Manghi
On 12/1/20 1:38 PM, Harald Oehlmann wrote: Am 01.12.2020 um 12:21 schrieb Massimo Manghi: I've been extensively using FA's yajltcl package lately to compose JSON messages to be consumed and interpreted by a browser internal parser I also ran into the need of parsing JSON messages myself and

Re: json parser in yajltcl

2020-12-01 Thread Harald Oehlmann
Am 01.12.2020 um 12:21 schrieb Massimo Manghi: I've been extensively using FA's yajltcl package lately to compose JSON messages to be consumed and interpreted by a browser internal parser I also ran into the need of parsing JSON messages myself and from what I understood yajltcl converts JSON