I have a requirement where I am getting the JSON response from REST API.

I can create a POJO and convert the JSON to JAVA but this particulat POJO is of no use for me in future or in other functionality.

Hence I was thinking to convert the JSON to Java dynamically using any API and render the objects in the JSP.

Can you tell me is this a good practise and how can I do that?

Expected JSON Response:

```
{
"_id": "",
"title": "",
"contact": "",
"country": "",
"children": [
   {
     "title": "",
      "contact": "",
      "country": "",
      "children": [
          {
            "title": "",
            "contact": "",
            "country": "",
            "children": []
           }
          ]
        }
      ]
     }

```