次の文字列を返す関数の 1 つ:
{
"data": [{
"type": "facebook",
"id": "639422616",
"name": "Neal Cabage",
"message": "Ruby on rails or Sinatra better for a restful app that speaks json, not html?"
}, {
"type": "facebook",
"id": "100001604824773",
"name": "Christolle Soragee",
"message": "When you lose: "
Who cares ? !It 's just a game!" When you win: "HAHAHA IN YOUR FACE LOSER!""},{"type":"facebook","id":"100000049925091","name":"Chris Cassanova Dunphy","message":"It'
s sad when you already know you 're gonna get ripped off and you have to junkie proof your stash... Hahaha good thing I was on point! It'
s funny how people with a problem will ruin a good thing just "}]}
を使用するjQuery.parseJSON(response)
と、メッセージ内に二重引用符が含まれている場合に例外がスローされます。
どんな助けや提案も大歓迎です。
ありがとう