▲
Hacker News
new
|
best
|
ask
|
show
|
jobs
points by
devmor
3 days ago | 0 comments
Can you explain why? This seems like the appropriate expectation to me, given how JSON is constructed and consumed.
[–]
Someone
3 days ago
Not the OP, but serializing both
nil
and empty arrays to the same json string means round tripping will not work for all objects.
That seems like a bad default to me.
Hacker News
That seems like a bad default to me.