JSON: Difference between revisions

Content deleted Content added
m →‎{{header|Tcl}}: add requirement
m →‎{{header|Tcl}}: added xref
Line 129: Line 129:


=={{header|Tcl}}==
=={{header|Tcl}}==
For parsing JSON, there is a package in {{libheader|Tcllib}} which provides the capability:
For parsing JSON, there is a package in {{libheader|Tcllib}} 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
<lang tcl>package require json
set sample {{ "foo": 1, "bar": [10, "apples"] }}
set sample {{ "foo": 1, "bar": [10, "apples"] }}