oreilly / couchdb-guide

CouchDB: The Definitive Guide
http://guide.couchdb.org/
501 stars 139 forks source link

Validation: Timestamps: Incomplete sentence re comparing with toJSON? #380

Closed mooreamm closed 13 years ago

mooreamm commented 13 years ago

In the final sentence of the "Timestamps" section, this expanation is offered re potential issues with using toJSON for comparing values that may be complex: "This is not guaranteed to work for deeply nested objects, as toJSON may serialize objects." As "toJSON" WILL serialize objects (exclusive of an error), I think the intention was "may serialize objects in an undefined order"?