title: Shuffling the list inside JSON Array
body: <p>Can someone please suggest a way to shuffle the list inside the JSON array?</p>
  <p>Let's say I have JSON array as shown below:</p>
  <pre><code>data:[{
  &quot;name&quot; : &quot;John&quot;,
  &quot;age&quot;:30,
  &quot;cars&quot;:[&quot;Ford&quot;, &quot;BMW&quot;, &quot;Fiat&quot;]},
  {
  &quot;name&quot; : &quot;Adam&quot;,
  &quot;age&quot;:31,
  &quot;cars&quot;:[&quot;Toyota&quot;, &quot;Fiat&quot;, &quot;Honda&quot;]
  },
  {
  &quot;name&quot; : &quot;Tony&quot;,
  &quot;age&quot;:25,
  &quot;cars&quot;:[&quot;VW&quot;, &quot;Mercedes&quot;, &quot;Toyota&quot;]
  }]
  </code></pre>
  <p>How can I shuffle the list inside the JSON array of data so I can get the new data to be like:</p>
  <pre><code>shuffledData:[
  {
  &quot;name&quot; : &quot;Adam&quot;,
  &quot;age&quot;:31,
  &quot;cars&quot;:[&quot;Toyota&quot;, &quot;Fiat&quot;, &quot;Honda&quot;]
  },
  {
  &quot;name&quot; : &quot;Tony&quot;,
  &quot;age&quot;:25,
  &quot;cars&quot;:[&quot;VW&quot;, &quot;Mercedes&quot;, &quot;Toyota&quot;]
  },
  {
  &quot;name&quot; : &quot;John&quot;,
  &quot;age&quot;:30,
  &quot;cars&quot;:[&quot;Ford&quot;, &quot;BMW&quot;, &quot;Fiat&quot;]
  }
  ]
  </code></pre>
  <p>Do I need to convert the JSON arraylist to regular arraylist first, then do collections.shuffle, then convert it back to the JSON arraylist again? This seems really complicated.</p>
  <p>I would appreciate your help.</p>
  <p>Thank you!</p>