Couchbase Complex Data Type | Description for the Transformation Data Type |
|---|---|
ARRAYS | Arrays are an ordered list of zero or more values. The values can be of any type. You can enclose Arrays in square brackets ( [ ] ). Use Commas to separate each value. For example: ["one", "two", "three"] and [1, 2, 3], and ["one", 2, "three"]. |
OBJECTS | Objects consist of name-value pairs. The name must be a string, and the value can be any supported JSON data type. You can enclose Objects in curly braces ( { } ). Use Commas to separate each pair. Use the colon (:) character to separate the name from its value within each pair. For example: {"age": 17}, {"fname": "Jane", "lname": "Doe"} |