4

JSON.Netで作成したjson-feedに問題があります。私がそれを解析しようとすると、それは私に与えます

JSONコンテンツの読み取りが終了した後に検出された追加のテキスト:、。パス''、行17、位置4。

http://json.parser.online.fr/で検証しようとすると、「SyntaxError:Unexpectedtoken」と表示されます。

なぜアイデアはありますか?

以下にjsonを貼り付けました:

{
    "ReviewId": 10250,
    "DateOfVisit": "Wed, 04 Jan 2012 00:00:00 +01:00",
    "SmartDateOfVisit": "Wednesday, January 04, 2012 12:00 AM",
    "First": null,
    "IsFeatured": null,
    "Rating": 5,
    "Text": "nice food",
    "ReviewTitle": "superb experience",
    "DisplayName": "mr. X",
    "ProfilePagePath": "http://facebook.com",
    "ProfileImage": "http://facebook.com/images/anonymous.png",
    "UserReviewsWritten": 119,
    "PlaceName": "Some place",
    "PlaceUrl": "http://www.somesite.com/someplace"
  },
{
    "ReviewId": 10250,
    "DateOfVisit": "Wed, 04 Jan 2012 00:00:00 +01:00",
    "SmartDateOfVisit": "Wednesday, January 04, 2012 12:00 AM",
    "First": null,
    "IsFeatured": null,
    "Rating": 5,
    "Text": "nice food",
    "ReviewTitle": "superb experience",
    "DisplayName": "mr. X",
    "ProfilePagePath": "http://facebook.com",
    "ProfileImage": "http://facebook.com/images/anonymous.png",
    "UserReviewsWritten": 119,
    "PlaceName": "Some place",
    "PlaceUrl": "http://www.somesite.com/someplace"
  }
4

1 に答える 1

7

{ ... }有効なJSONです。その後,、予期しないトークンです。その後、{ ... }ゴミを追いかけています。

于 2012-12-08T23:43:53.143 に答える