| Description: |
perhaps I am misunderstanding the code, but it appears there is an extra "$" on line 315 of json.tcl in the function json::list2json. Currently creating a list and sending it to this functions produces what appears to be invalid json.
Example 1:
package require json
set z [list {"first"} {"second"} {"third"}]
json::list2json $z
The output of the above code on my debian unstable system with tcl8.5 and tcllib-1.13 is:
[$"first","second","third"]
Note the extra $. I would expect the output to looks like this:
["first","second","third"]
|