Put your data string into a variable (without the opening and ending quotation marks). And then use this variable in AJAX request.
Hello, bro then I have this json loaded in the jon plugin and I am tried to take the value of result.data.medals.0 but I receive 0 because reason?
{"success":true,
"app_id":"test",
"result":{"component":"Medal.getList",
"data":{"success":true,
"medals":[
{"id":67365,
"name":"Check out the Credits Screen",
"description":"Check out the Credits Screen",
"icon":"\/\/apifiles.ngfiles.com\/medals\/53000\/53932\/67365_checkoutthecreditsscreen.webp",
"value":0,"difficulty":1,
"secret":0,
"unlocked":false},
{"id":67366,"name":"Click on the secret icon",
"description":"Click on the secret icon",
"icon":"\/\/apifiles.ngfiles.com\/medals\/53000\/53932\/67366_clickonthesecreticon.webp",
"value":0,
"difficulty":1,
"secret":0,
"unlocked":false}]}}}