title: Create a JSON without a key
body: <p>We wanted to create a JSON structure as below in Java</p>
  
  <pre><code>{
   [
    { 
     "key": "ABC001",
     "value": true 
    },
    { 
     "key": "ABD12",
     "value": false 
    },
    { 
     "key": "ABC002",
     "value": true 
    },
   ]
  }
  </code></pre>
  
  <p>To implement this we created a class and had a list private property inside it.
  But that is creating a key <code>values</code></p>
  
  <pre><code>class Response{
  private List&lt;Property&gt; values;
   // setter getter for this private property
  }
  </code></pre>
  
  <p>The output for this is </p>
  
  <pre><code>{
  values : [
  {
  "key": "ABC001",
  "value": true
  },
  ......
  ]
  </code></pre>
  
  <p>Is there a way we create the array without the key and inside the <code>{ }</code>?</p>