Help regarding JSON

I have an app in which I am using JSON tools (by LukeGackle). API which I am using sometime it works and sometimes it doesn’t. So when it doesn’t work this msg appear {“error”:“miss”}
But when it works this msg appear
“title”:“any title”,

So how to know that api is working or not. Means how to know that when will I get only “error” and when I will get “title, thumbnail, etc”.?

if returned text is {“error”:“miss”}
then display an error message
else ocntinue with your working solution


LOL, I am so stupid :sweat_smile:
Thx for making me a lil less stupid :yum:
I solved it by this

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.