Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
logn
on Oct 30, 2014
|
parent
|
context
|
favorite
| on:
JSON Patch – a format for describing changes to a ...
I think they used null for deletion because undefined isn't in the JSON spec. It's more of a Javascript standard.
drderidder
on Oct 30, 2014
[–]
Thanks, you're right. "null" is what I do use - I forgot undefined won't work with JSON.parse. It would be nice to have a way to explicitly define a property as null, versus non-extant.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: