34404 create rev from json

Allow the creation of CDTDocumentRevisions for use with remote data sources

Main question is the use of 4 constructors, 3 are just convenience constructors. Should the constructors without a sequence number  parameter be left for uses with remote databases where sequence numbers are not needed, or removed waiting for the user to fill it in with 0?


Well, if there are some cases where a deleted document already has an empty body and there are some cases where it does have a body, why not just those particular cases be reflected in the CDTDocumentRevision as they are on the couch server? That is, if it doesn't have a body, then it doesn't have a body. But if it does have a body, why not leave it in there?