couchbase - CBLite Android - Get values in second level -
using cblite android, , storing docs (similar android grocery sync example) this:
{ "check" : true, "created_at" : "2014-02-25t10:16:46.026z", "text" : "soap", "prices":[ { "date" : "2014-02-25" , "value" : 12 } ] }
i value in "text" field as shown in documentation:
... document document = row.getdocument(); string text = ((string)document.getcurrentrevision().getproperty("text")); ...
but, how should value in, example, "value" field?
thanks.
search in doc allow array, read array value.
Comments
Post a Comment