-4

で JSON を解析しようとしていますNSJSONSerializationNSArray *a = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:&err];エラーはこれを示していますError Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (Badly formed array around character 202.) UserInfo=0x9f79230 {NSDebugDescription=Badly formed array around character 202.} : JSON コードは次のとおりです。

[
    {
        "ID":1,
        "name":"sometext",
        "c":"sometext",
        "city":"sometext",
        "street":"sometext",
        "a":32.914671,
        "b":35.292417,
        "Info":"sometext",
        "imageAddress":"images/aroma.jpeg"
    }
    {
        "ID":2,
        "name":"sometext",
        "c":"sometext",
        "city":"sometext",
        "street":"sometext",
        "a":4.224,
        "b":72.1234,
        "Info":"sometext",
        "imageAddress":"images/"
    }

現在コード化されていない JSON はどこにありますか?

4

1 に答える 1