title: How parse nested json in Spring
body: <p>I have nested JSON with bunch of children objects, but I just need response_time and question, subquestions of survey_data. What is the best way to parse nested JSON in rest controller to the object in spring?</p>
  <pre><code>{
     &quot;is_test_data&quot;:false,
     &quot;language&quot;:&quot;English&quot;,
     &quot;url_variables&quot;:{
        &quot;requestId&quot;:{
           &quot;key&quot;:&quot;requestId&quot;,
           &quot;value&quot;:&quot;1&quot;
        }
     },
     &quot;response_time&quot;:1114,
     &quot;survey_data&quot;:{
        &quot;2&quot;:{
           &quot;id&quot;:2,
           &quot;type&quot;:&quot;parent&quot;,
           &quot;question&quot;:&quot;For each of the following factors, please rate your recent project&quot;,
           &quot;subquestions&quot;:{
              &quot;10&quot;:{
                 &quot;10001&quot;:{
                    &quot;id&quot;:10001,
                    &quot;type&quot;:&quot;MULTI_TEXTBOX&quot;,
                    &quot;question&quot;:&quot;Overall Quality : Rating&quot;,
                    &quot;answer&quot;:null,
                 }
              }, 
              &quot;11&quot;:{
                 &quot;10001&quot;:{
                    &quot;id&quot;:10001,
                    &quot;type&quot;:&quot;MULTI_TEXTBOX&quot;,               
                    &quot;question&quot;:&quot;Achievement of Intended Objectives : Rating&quot;,
                    &quot;answer&quot;:null
                 }
              }
           }
        },
        &quot;33&quot;:{
           &quot;id&quot;:33,
           &quot;type&quot;:&quot;HIDDEN&quot;,
           &quot;question&quot;:&quot;Submitted&quot;,
           &quot;answer_id&quot;:0,
        }
     }
  }
  </code></pre>
  <p>Thank you.</p>