Using POCOs with Xamarin and Couchbase Lite

Is it possible to save/query POCO classes (i.e. a class that doesn't inherit from NSObject or some other base class) using Couchbase Lite/Xamarin? So far the examples I've seen have used NSDictionary to populate the documents, but I'd like to avoid that so I can keep my business objects platform independent.

1 Answer

« Back to question.

Hello cbsmith,

Know it has been awhile now and probably you have already resolved the original question.

Though I was thinking it is possible to query the POCO classes/objects after serializing to JSON objects. Can investigate more over on the Xamarin serializer discussion
http://forums.xamarin.com/discussion/9886/quick-json-serializer-performa...

Nonetheless, would love to know your work around and the examples you saw with NSDictionary.