Hi!

When I was writing jcouchdb, I came across the fact that it seemed to make difference whether the _rev field just wasn't there or if it was null, something that made me wonder.

The problem for me was solved with the "ignoreIfNull" feature in jcouchdb, but I'd like to ask the question in general:

Shouldn't couchdb treat null and undefined values the same?

I am aware that there is in fact a difference in javascript, but since there is no "undefined" keyword for JSON, I would argue that that should not be the case for JSON and couchdb.

Sven Helmberger

Reply via email to