We have JSON documents in a couchbase bucket. This is shadowed into 
sync_gateway bucket which is then pulled down into Couchbase lite using a 
pull replication. This all works nicely.

Imagine my couchbase document looks like this
   
{ 
   "colour": "green",
   "count": "135"
}


When I retrieve the doc using Couchbase Lite then it has a properties 
dictionary with two entries, "colour" and "count". 

That's great, but how do I access the document body as a JSON string that I 
can deserialise into an object?

thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/b91a36e6-9efd-4670-9f14-654701a56b67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to