JQuery getJSON - ajax parseerror

后端 未结 17 1906
南笙
南笙 2020-12-01 13:04

I\'ve tried to parse the following json response with both the JQuery getJSON and ajax:

[{\"iId\":\"1\",\"heading\":\"Management Services\",\"body\":\"

17条回答
  •  感动是毒
    2020-12-01 13:43

    This is a working example and tested!

    
    

    And the json source is the following (pie.json):

    [{ "label": "Series1",  "data": 10},
    { "label": "Series2",  "data": 30},
    { "label": "Series3",  "data": 90},
    { "label": "Series4",  "data": 70},
    { "label": "Series5",  "data": 80},
    { "label": "Series6",  "data": 110}]
    

提交回复
热议问题