I have the below JSON and when I use it in Adobe Document Generation API, it gives an error as below. I'm not sure whats the issue with the JSON scheme.
[
{
"OwnerID": "L001",
"Properties": [
[
{
"PropertyID": "P001",
"Property Address": "12 St LA",
"Rent": "300",
"Bedroom ": "2 "
}
],
[
{
"PropertyID": "P002",
"Property Address": "3 St SA",
"Rent": "450",
"Bedroom ": "3 "
}
]
]
},
{
"OwnerID": "L002",
"Properties": [
[
{
"PropertyID": "P003",
"Property Address": "4 St SA",
"Rent": "500",
"Bedroom ": "4 "
}
]
]
},
{
"OwnerID": "L003",
"Properties": [
[
{
"PropertyID": "P004",
"Property Address": "20 St LA",
"Rent": "400",
"Bedroom ": "2 "
}
]
]
}
]
If I used the first object in the JSON, there is no issue. Only when I use the complete JSON array do I get issues in Adobe Doc Generation.
{
"OwnerID": "L001",
"Properties": [
[
{
"PropertyID": "P001",
"Property Address": "12 St LA",
"Rent": "300",
"Bedroom ": "2 "
}
],
[
{
"PropertyID": "P002",
"Property Address": "3 St SA",
"Rent": "450",
"Bedroom ": "3 "
}
]
]
}