> On Oct 17, 2014, at 4:21 AM, Tim Clarke <[email protected]> wrote: > > 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?
Um, I guess you can use NSJSONSerialization to encode the NSDictionary to JSON data. Which you can then deserialize again. But that seems kind of pointless. Maybe I'm misunderstanding the question? —Jens -- 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/3F84A7F9-7FE7-42AA-B6D2-23C568E91C28%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
