9 lines
169 B
Objective-C
9 lines
169 B
Objective-C
>> jsondecode('{ "foo": 1, "bar": [10, "apples"] }')
|
||
ans =
|
||
struct with fields:
|
||
|
||
foo: 1
|
||
bar: {2×1 cell}
|
||
>> jsonencode(ans)
|
||
ans =
|
||
{"foo":1,"bar":[10,"apples"]}
|