Serialize/Deserialize Document Property?

Hello,

The bucket of my server has documents which contain a property in the following format:
“property_key”: [
{
“key”: [
“value1”,
“value2”,
“value3”,
“value4”,
“value 5”
],
“title”: “Title1”
},
{
“key”: [
“value1”,
“value2”,
“value3”,
“value4”,
“value 5”
],
“title”: “Title2”
},
.
.
.
{
“key”: [
“value1”,
“value2”,
“value3”,
“value4”,
“value 5”
],
“title”: “TitleN”
}
]

I’d like to get and put properties in this format through the use of an Object with properties string[] and Title.

What would be the best way to get this done with Couchbase Lite 1.3.1 (.NET)?

Unfortunately Couchbase Lite .NET does not support direct serialization of classes to the DB in 1.x. It is one of the key features of 2.0, though. For 1.x you will need to manually convert your class into an IDictionary<string, object> and store that in the database.