Android – ny way to know name of keys in json object from android app

androidfacebook

I have an app which requests infomation to facebook then get infromation from facebook.

Facebook sends information to my app by the type of json object.

Since this information was not created by me, I dont know key names of this json object.

Is there anyway to know json object key names from android app?

Best Answer

Essentially, you're looking to parse dynamic JSON keys. Check this out: How to parse a dynamic JSON key in a Nested JSON result?