title: how to insert one json array string to another json object android
body: <p>i create two json string using GSON now i want to insert one json string to another but i don't understand how to I achieve this</p>
  <p>json string 1</p>
  <pre><code> {&quot;floors&quot;:[{&quot;coveredArea&quot;:&quot;200&quot;,&quot;floorId&quot;:&quot;12&quot;,&quot;uploaded&quot;:false,&quot;id&quot;:1},{&quot;coveredArea&quot;:&quot;200&quot;,&quot;floorId&quot;:&quot;12&quot;,&quot;uploaded&quot;:false,&quot;id&quot;:5}]}
  </code></pre>
  <p>json String 2</p>
  <pre><code>&quot;surveys&quot;:[{&quot;UId&quot;:&quot;2&quot;,&quot;occupier&quot;: &quot;rent&quot;,&quot;propertyId&quot;: &quot;3&quot;,&quot;formId&quot;:1605250886166,&quot;isSubmitted&quot;:false,&quot;id&quot;:1}]}
  </code></pre>
  <p>but i want to this like this result</p>
  <pre><code>{
  &quot;surveys&quot;: [{
      &quot;propertyId&quot;: &quot;3&quot;,
      &quot;UId&quot;: &quot;161&quot;,
      &quot;occupier&quot;: &quot;rent&quot;,
      &quot;formId&quot;: 1605250886166,
      &quot;isSubmitted&quot;: true,
      
      &quot;floor&quot;: [{
              &quot;floorId&quot;: &quot;200&quot;,
              &quot;coveredArea&quot;: &quot;200&quot;
          },
          {
              &quot;floorId&quot;: &quot;200&quot;,
              &quot;coveredArea&quot;: &quot;200&quot;
          }
      ]
  }]
  </code></pre>
  <p>}</p>