Ask a Question
How do I created nested arrays in GCD?
almost 2 years ago by Eva Ramirez
I'm banging my head against creating nested arrays in GCD, docs say it's possible but I'm unable to get it to work...
I would like to get json like this:
"Achievements": [
{ "Points": [ 1, 2] },
{ "Points": [ 2, 3 ] }
]
But what I'm getting with this setup is:
"Achievements": [
{
"Points": [ 2 ]
},
{
"Points": [ 1 ]
},
{
"Points": [ 3 ]
},
{
"Points": [ 2 ]
}
]