I want to build a script which get s a JSON and manipulates it.
I have one problem, i don’t know how to check if a certain value exists, for example:
i get this JSON when doing action 1:
{
"url": "http://zuberi.me",
"top": "true"
}
and when i do action 2:
{
"url": "http://zuberi.me",
"top": "true",
"copy": "false"
}
so i want to check if “copy” is exists in the JSON response i get…
thanks in advance 🙂
1 Answer