Recently, I utilized the WOT (web of trust) API and encountered a response structured like this:
process( {
"www.google.com": {
"target": "google.com",
"0": [ 95, 84 ],
"1": [ 95, 84 ],
"2": [ 95, 84 ],
"4": [ 93, 78 ],
"categories": {
"501": 92
}
}
} )
Trying to extract data from this JSON format has left me perplexed. Despite extensive searches, I haven't found a solution yet.
Specifically, my goal is to extract the value '502' from the 'categories'. Can anyone offer guidance on how to achieve this?