+[CBLJSON dataWithJSONObject:] is just a wrapper around NSJSONSerialization, 
which only knows how to serialize the standard types (NSString, NSArray, etc.)

If you want to get a JSON-serializable form of a CBLModel, call 
-propertiesToSave on it. Then you can collect those into an NSArray and turn 
that into JSON.

--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/501A924E-4720-44AB-B9AA-3CF16DC2719B%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to