JSON: Difference between revisions

33 bytes removed ,  13 years ago
m
→‎{{header|Tcl}}: use better template
No edit summary
m (→‎{{header|Tcl}}: use better template)
Line 378:
 
=={{header|Tcl}}==
For parsing JSON, there is a package in {{libheadertcllib|Tcllibjson}} which provides the capability (see [http://wiki.tcl.tk/13419 the Tcler's Wiki page on it] for more discussion):
<lang tcl>package require json
set sample {{ "foo": 1, "bar": [10, "apples"] }}
Anonymous user