我在使用 JSON.Net 创建的 json 提要时遇到了一些问题。当我尝试解析它时,它给了我
读取完 JSON 内容后遇到的其他文本:,。 路径 '',第 17 行,位置 4。
我尝试用 http://json.parser.online.fr/验证它,它说"语法错误:意外令牌,"。
任何想法为什么?
我在下面粘贴了我的 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"
}
{ ... }
是有效的JSON。在那之后,,
是一个意想不到的令牌。在那之后,{ ... }
是尾随垃圾。