我在下面的JSON對象上得到了「解析錯誤」。不知道如何解決它。解析帶有逗號和引號的JSON文本
{ "Information": [ { "nm": "Earn Goody", "st": "y", "source": "Internet", "story": [ { "Don't let the smile fool you. Sabine Lisicki is the proverbial "crazy guy in the fight," at least when grass courts are involved. Perhaps the only player capable of keeping up with Serena Williams from a power-and-movement standpoint, Lisicki not only kept up, she beat Williams, 6-2, 1-6, 6-4, in the Round of 16 at Wimbledon on Monday.", "Women's tennis had, like men's tennis, grown predictable recently, with either Williams, Maria Sharapova, or Victoria Azarenka winning the last six slam titles." } ] } ] }
結果:
{
"Information": [
{
"nm": "Earn Goody",
"st": "y",
"source": "Internet",
"story": [
{
"Don't let the smile fool you. Sabine Lisicki is the proverbial crazyguyinthefight at least when grass courts are involved. Perhaps the only player capable of keeping up with Serena Williams from a power-and-movement standpoint, Lisicki not only kept up, she beat Williams, 6-2, 1-6, 6-4, in the Round of 16 at Wimbledon on Monday.",
"Women's tennis had, like men's tennis, grown predictable recently, with either Williams, Maria Sharapova, or Victoria Azarenka winning the last six slam titles."
}
]
}
]
}
Parse error on line 9:
...imbledon on Monday.",
-----------------------^
Expecting ':'
請求JSON供應商提供有效的JSON。 (當然,這可能是在複製/粘貼示例中,您以某種方式丟失了一個或兩個「\」或兩個)。 –
您需要通過html代碼更改無效的caracter –
未轉義的語音標記,JSON是破壞 - 他們需要在創建時逃脫 – Orbling