Write a List of documents to couchbase

Hi

Is there to write a bulk of documents to couchbase?
For example a list of documents in the form:
{
“users”: [
{
“name”: “x”,
“address”: “y”
},
{
“name”: “x”,
“address”: “y”
}
]
}

I expect that couchbase will identify that this a multi-document object and split it into two documents

Hi,

no, this functionality is not provided with the 1.* SDKs (and will most probably not be in future releases). This is very application specific as you can imagine, since there are a thousand ways how JSON data can come along.

You need to use Jackson, GSON or whatever you want to use to split it up into multiple objects and then store it.