JSON: Difference between revisions

20 bytes removed ,  3 years ago
m
→‎{{header|Phix}}: use backtick strings rather than escaped \"
m (Reverted edits by NUKnWJiJTn (talk) to last revision by Wtb)
m (→‎{{header|Phix}}: use backtick strings rather than escaped \")
Line 3,211:
 
puts(1,"roundtrip (10 examples):\n")
sequence json_strings = {"`{\"this\":\"that\",\"age\":{\"this\":\"that\",\"age\":29}}"`,
"`1"`,
"\`"hello\""`,
"`null"`,
"`[12]"`,
"`[null,12]"`,
"`[]"`,
"`{\"this\":\"that\",\"age\":29}"`,
"`{}"`,
"`[null,[null,12]]"`}
 
for i=1 to length(json_strings) do
7,794

edits