JSON invalid character '}' looks for the beginning of a key string of an object

I am trying to import a file .jsoninto parse.com, and in doing so I found a lot of errors. I solved them sequentially, but after I click finish import, I get an error

invalid character '}' looking for beginning of object key string

My JSONscript, as far as I know, is excellent. But I just started using it JSONtwo hours ago, so I'm sure something is wrong with him.

{
  "results": [{
    "nameChunk1": [{
      "name1": "Sean",
      "name2": "Noah",
    }]
    "nameChunk2": [{
      "name1": "Joseph",
      "name2": "Sam",
    }]
  }]
}

So where is the mysterious invalid }? I am afraid that there are many of them ... Keep in mind that I use JSONto import data intoparse.com

+6
source share
4 answers

Correct the JSON syntax:

{
  "results": [{
     "nameChunk1": [{
        "name1": "Sean",
        "name2": "Noah" 
     }],
     "nameChunk2": [{
       "name1": "Joseph",
       "name2": "Sam"
     }]
  }]
}

, , , name2.

, http://jsonlint.com/, JSON.

+11

name2, nameChunk1 nameChunk2. JSON :

{
  "results": [{
    "nameChunk1": [{
      "name1": "Sean",
      "name2": "Noah"
    }],
    "nameChunk2": [{
      "name1": "Joseph",
      "name2": "Sam"
    }]
  }]
}
+3

JSON, http://jsonlint.com/, JSON.

JSON :

{
  "results": [{
     "nameChunk1": [{
        "name1": "Sean",
        "name2": "Noah" 
     }],
     "nameChunk2": [{
       "name1": "Joseph",
       "name2": "Sam"
     }]
  }]
}
+2

JSON:

  1. ','

JSON:

{
  "results": [{
    "nameChunk1": [{
      "name1": "Sean",
      "name2": "Noah"
    }],
    "nameChunk2": [{
      "name1": "Joseph",
      "name2": "Sam"
    }]
  }]
}
+1

All Articles