On 12/16/11 12:08 PM, Andreas Kupries wrote:
> Kevin Walzer<
k...@codebykevin.com> writes:
>
>> I'm working on a project that will involve setting up a server-side
>> Tcl package that will return JSON data for parsing by a JavaScript
>> client. A few questions:
>>
>> 1. What's the best way to handle CGI these days--Don Liebes' cgi.tcl
>> package, ncgi in tcllib, or something else?
>> 2. I know there there is a json package in tcllib that can parse JSON
>> output, but are there any tools in Tcl for generating JSON output from
>> a Tcl data structure?
>
> Under the json module you should also find a json::write package.
>
>
http://docs.activestate.com/activetcl/8.5/tcllib/json/json_write.html
>