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.


edit:
getting documents
api reference

search in doc allow array, read array value.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -