Anonymous user
JSON: Difference between revisions
→{{header|Forth}}
Line 1,534:
https://github.com/DouglasBHoffman/FMS2
Load a JSON Forth string into a json data structure and print it.
<pre>
s\" {\"value\":10,\"flag\":false,\"array\":[1,2,3]}" $>json value j
Line 1,546:
}
Create a new data structure
<pre>
j{ "another":"esc\"ap\u20ACed" }j 1 j :insert j :.
|