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 back to the original yajltcl sequence that created it but offers no way to organize the data into some Tcl native container, is it correct? A parser that converts the yajltcl representation of the JSON data in some Tcl native representation is something needed to yajltcl?

Dear Massimo,

thank you for the message. I suppose, this would be good work.
May I point your attention to tdom which is now able to parse and construct JSON in a similar manner as XML. In addition, you get the additional fruit, that you may choose the output format the last moment (JSON or XML).

I have not tried this but it might be a strategic thought.

Thank you,
Harald

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to