Unfortunately, I am not well-versed in JavaScript and I need help filtering the following string:
{
"code":200,
"success":true,
"data":{
"token":".J1e9ipFZkPE6EvIRAqEf9hp",
"expires":"2019-01-05 14:18:43"
},
"time":0.009
}
It is clear that I need to retrieve the value of the token. I have heard about jsonpath being similar to XPath in XML but I don't know how to implement it in JS.
I would greatly appreciate your assistance with this.