title: How to add multiple json object with the jq command?
body: <p>I want to edit this json file:</p>
  
  <pre><code>{
      "shipping_orders": [{
      }],
      "timestamp": 100,
      "shoporders": [{
          "buyer_remark": null
      }],
      "payment_channel_info": {
          "shipping_method": 28,
          "grouping_info": {
              "groups": [{
                  "display_info": {
                      "discount": 1
                  }
              }]
          }
      }
  }
  </code></pre>
  
  <p>And I want to add these json objects to the file:</p>
  
  <ol>
  <li><code>"headers": {}</code></li>
  <li><code>"ext_ad_info_mappings": []</code></li>
  <li><code>"enabled": true</code></li>
  </ol>
  
  <p>The output I want is like this:</p>
  
  <pre><code>{
      "headers": {},
      "shipping_orders": [{
      }],
      "timestamp": 100,
      "shoporders": [{
          "buyer_remark": null,
          "ext_ad_info_mappings": []
      }],
      "payment_channel_info": {
          "shipping_method": 28,
          "grouping_info": {
              "groups": [{
                  "display_info": {
                      "discount": 1,
                      "enabled": true
                  }
              }]
          }
      }
  }
  </code></pre>
  
  <p>I tried this command but the result only shows <code>true</code> <a href="https://jqplay.org/s/0aVbFzMttK" rel="nofollow noreferrer">https://jqplay.org/s/0aVbFzMttK</a></p>
  
  <pre><code>jq '.+{"headers": {}} and .shoporders[] + {"ext_ad_info_mappings": []} and .payment_channel_info.grouping_info.groups[].display_info + {"enabled": true}'
  </code></pre>
  
  <p>How should I edit the json file so that it'll output like the one I want above ?</p>