I want to create a dynamic function where I can fetch the value and name from the Json and can send it to the queue from where I can upload that data into my website.
The thing is, it is working well. Where for the specific json structure I have used 4 loops. But if any other child of child values come then anyhow I have to create the other loop for getting Values from that jsonobject. So it would be like JsonObject.Properties. I verify if JsonObject contains children or not if yes then again I make the same loop of properties.
So I have a question like, what if tomorrow I have a format where itr contains child of child values so again do I have to create the next loop? Any idea how I work on it ? If Do while can help? If yes then how ? Because Do while is also not working for specific content.