2 ms·
But that would be a very irregular way to use JSON.
by philwelch 5y ago
But that would be a very irregular way to use JSON.
- masklinn 5y agoNot even remotely.
- philwelch 5y agoIt’s not irregular to represent a list of typed objects in JSON as an array of arrays in which the first array is the array of keys in the same order as the corresponding values? Is there a JSON serialization library that actually uses this pattern? I’m not asking to be argumentative, but I genuinely like the idea and would be pleasantly surprised to see it.