In the Page 437 of the book TMS Web Core (Holger Flick), explains that "The data tuples are all stored as an array in the data node "ROW" ".
And as example, the author shows something like this:
"ROW": [
{
"firstName": "Peter",
"lastName": "Parker",
"DOB": "02/10/1965",
"married": true
},
{
"firstName": "Bruce",
"lastName": "Banner",
"DOB": "06/09/1945",
"married": false
},
{
"firstName": "Reed",
"lastName": "Richards",
"DOB": "07/03/1955",
"married": true
}
]
How do I construct this type of JSON?
I've trying and I get the next approximation:
{
"ROW": [
{
"firstName": "Peter",
"lastName": "Parker",
"DOB": "02/10/1965",
"married": true
},
{
"firstName": "Bruce",
"lastName": "Banner",
"DOB": "06/09/1945",
"married": false
},
{
"firstName": "Reed",
"lastName": "Richards",
"DOB": "07/03/1955",
"married": true
}
]
}
In which "ROW" is a pair added with the value of the Array.
But I can't achieve it without the external closers.