JSON invalid character '}' looking for beginning of object key string
Use any JSON validator like http://jsonlint.com/ to validate your JSON.
Correct JSON is:
{
"results": [{
"nameChunk1": [{
"name1": "Sean",
"name2": "Noah"
}],
"nameChunk2": [{
"name1": "Joseph",
"name2": "Sam"
}]
}]
}
Correct your JSON syntax:
{
"results": [{
"nameChunk1": [{
"name1": "Sean",
"name2": "Noah"
}],
"nameChunk2": [{
"name1": "Joseph",
"name2": "Sam"
}]
}]
}
Observe that I have added ,
after each array.. and removed ,
after name2
key.
Always use validators such as http://jsonlint.com/ to validate your JSON.