Hi Huffman,
In App42 Storage Service, Save Or Update Document By Key Value With JSON String/Object method will completely overwrite the saved JSON object with passed JSON object in the call. This will get updated only if key with passed value matches the doc. If no match is found, new doc JSON doc is created with JSON value being passed in method call.
If you need to modify key/value in JSON doc you need to call the add or update keys method. For example: If JSON doc is stored like this {"emailId":"tokyodan1@gmail.com","expirationdate":"2014-10-23","VERIFIED":"FALSE","restoreCount":"3"} with doc/object id as 1234.
You have to pass JSON string as {"VERIFIED":"TRUE" } to modify VERIFIED key for this doc in add or update keys method. This will also need docId to get passed along with the call.
If suppose document was saved with out VERIFIED key like this {"emailId":"tokyodan1@gmail.com","expirationdate":"2014-10-23","restoreCount":"3"}, in this case it will add this node in the doc.
We will add more clear examples in all these methods to make it understandable. Thanks a lot for your input. We will update the doc in coming days. Sorry for trouble