0

I am getting a syntax-error: illegal character on this line, does anyone have any idea what this could be?

{pIconImg:"/blob/958/893/transparent_128x1,0.png", pIconImgAltTxt:"null", pName:"Gogo Unlimited Mobile",  pCode:"ASMARC5555", pPriceDollar:"49", pPriceCents:"95", pBuyUrl:"/gbp/pickpass.do?execution=e6s1&_eventId=buy&productCode=ASMARC5555&quantity=1&requesterType=gbp&lang=en_US&curr=USD", pShortDescr:"Unlimited access on domestic Gogo equipped flights with <a href="#" id="parAir">participating airlines</a>.", pLongDescrUrl:"/gbp/pickpass.do?execution=e6s1&_eventId=more&productCode=ASMARC5555"}

enter image description here

Evan Carslake
  • 2,267
  • 15
  • 38
  • 56
Peter
  • 41
  • 1
  • 9

1 Answers1

1

Its good practice to use quotes around the key. If you're interested to know why, check out this SO post

Regarding the problem you're having, once I quoted the keys, json validation passed (jsonlint.com)

{
    "pIconImg": "/blob/958/893/transparent_128x1,0.png",
    "pIconImgAltTxt": "null",
    "pName": "Gogo Unlimited Mobile",
    "pCode": "ASMARC5555",
    "pPriceDollar": "49",
    "pPriceCents": "95",
    "pBuyUrl": "/gbp/pickpass.do?execution=e6s1&_eventId=buy&productCode=ASMARC5555&quantity=1&requesterType=gbp&lang=en_US&curr=USD",
    "pShortDescr": "Unlimited access on domestic Gogo equipped flights with <a href=\"#\" id=\"parAir\">participating airlines</a>.",
    "pLongDescrUrl": "/gbp/pickpass.do?execution=e6s1&_eventId=more&productCode=ASMARC5555"
}
Community
  • 1
  • 1
redspidermkv
  • 503
  • 10
  • 25