BigBlueHat/sql2couchdb — comment on commit e46de6ec0588ec6309f3123c8ba7c741c8a826da
File:  line 0
By BigBlueHat:

What I was after was some way to detect that you want the key to be dropped. In the JSON spec if the value of a key is "undefined" (a JS specific thing, obviously), then the key gets dropped. PHP's only got "null" so I overloaded it a bit (probably) to make it work like "undefined" in JS.

However, as you point out "null" is a valid JSON value, so this does need more thought/planning behind it.

Any ideas?