12 ms·
> I always wondered why you want to deserialize JSON as ab object tree instead of associative array. To prevent [] and {} from both being deserialized to an em
by duskwuff 5y ago
> I always wondered why you want to deserialize JSON as ab object tree instead of associative array.
To prevent [] and {} from both being deserialized to an empty array.
- falsenapkin 5y agoThis is the most convincing answer to me. I learned this the hard way recently.