RosettaCodeData/Task/JSON/Maple/json.maple
2015-11-18 06:14:39 +00:00

4 lines
223 B
Text

> JSON:-ParseString("[{\"tree\": \"maple\", \"count\": 21}]");
[table(["tree" = "maple", "count" = 21])]
> JSON:-ToString( [table(["tree" = "maple", "count" = 21])] );
"[{\"count\": 21, \"tree\": \"maple\"}]"