Jump to content

JSON: Difference between revisions

296 bytes added ,  10 years ago
(add julia entry)
(→‎{{header|Julia}}: add example)
Line 1,079:
 
=={{header|Julia}}==
The JSON module is installed by running Pkg_add("JSON").
<lang Julia>
julia> require("JSON")
julia> JSON.parse("{ \"blue\": [1,2], \"ocean\": \"water\" }")
["ocean"=>"water","blue"=>{1,2}]
julia> JSON.json({"blue" => [1,2] , "ocean" => "water"})
"{\"ocean\":\"water\",\"blue\":[1,2]}"</lang>
 
=={{header|Lasso}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.