VikasB
9 years agoBoss
Retrieve data from JSON
I am trying to retrieve the values from JSON coming from a third-party script. Below is the JSON sample
{
"isSuccess": true,
"result": [
{
"id": "3fd45eda-6bbd-e711-8124-e0071b710a01",
"appName": "Select*IP \ufffd Reconcile",
"isPublished": false,
"categoryList": [
{
"categoryTitle": "Admin/IT",
"id": "ee5aa279-6bbd-e711-8124-e0071b710a01"
}]
}
]
}I am playing around the ?eval but it throws an error.
Syntax error in ?eval-ed string in line 6, column 36: Lexical error: encountered "u" (117), after "\"Select*IP \\". ---end-message---
Is there any way to escape such Unicode("\ufffd" it may change also)to get the value of appName without replacing the keywords.