> On Oct 23, 2014, at 3:01 AM, Tim Clarke <[email protected]> wrote:
> 
> We want the "raw" JSON because we already have a library of platform code 
> that understands and deserialises our JSON. This platform code is currently 
> on other OS's and is being ported to mobile. Couchbase Lite gives us 
> everything we need to make our platform sync onto the mobile device as long 
> as we can get at the raw JSON.

As I said, just use NSJSONSerialization to re-encode the document body. That'll 
be more efficient than trying to store quoted JSON strings in your documents, 
and it also lets you index properties of that JSON since it'll be easily 
available to the map functions.

—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/FE609D4C-090B-46F1-A8BE-C95E9B89EB69%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to