The docs say that CBLModel can handle serializing NSDate objects to store 
in the JSON document.

It seems perhaps that they can do that only on direct properties of the 
CBLModel subclass?

I am trying to persist an NSDate object that gets stored in an NSDictionary 
on my CBLModel subclass.

However, when I try to save, I get the following error:

*-[__NSTaggedDate cbjson_encodeTo:canonical:]: unrecognized selector sent 
to instance*

I believe the same thing would happen for some other data types too.

Is this a bug or am I doing something wrong? Or is it just not supported?

Thanks,

Brendan

-- 
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/707722f6-d5a2-48d8-b241-72d1438558bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to