JSON: Difference between revisions

Content deleted Content added
→‎Tcl: Added implementation
m →‎{{header|Tcl}}: add requirement
Line 138:
<pre>foo 1 bar {10 apples}</pre>
However, that package is very weak in its generation of JSON because Tcl's official type system is substantially different to that envisaged by JSON. It's possible to work around this though the use of Tcl 8.6, as this next example shows:
<br>
{{works with|Tcl|8.6}}
<lang tcl>package require Tcl 8.6