4 ms·
This JSON [ {"foo": 1.2, "bar": [1,2]}, {"foo": 3.4, "bar": []}, {"foo": 5.6, "bar": [10,11,12] ] could be shortened to [ { foo: real, ba
by otabdeveloper4 6y ago
This JSON
[ {"foo": 1.2, "bar": [1,2]},
{"foo": 3.4, "bar": []},
{"foo": 5.6, "bar": [10,11,12] ]
could be shortened to
[ { foo: real, bar: [ int ] ]
1.2 1 2; 3.4 ; 5.6 10 11 12;;
which is significantly shorter and also confers important performance and safety benefits.