How to add section of json to the existing file using jq
<p>I am using <code>jq</code> to parse a JSON file. I have some section of JSON file with below content</p>

<pre><code>[
  {
    "PropagateAtLaunch": true,
    "Value": {
      "Ref": "TNAM"
    },
    "Key": "Name"
  },
  {
    "PropagateAtLaunch": true,
    "Value": {
      "Ref": "TAPP"
    },
    "Key": "application"
  },
  {
    "PropagateAtLaunch": true,
    "Value": {
      "Ref": "TENV"
    },
    "Key": "environment"
  },
  {
    "PropagateAtLaunch": true,
    "Value": {
      "Ref": "TSHA"
    },
    "Key": "shared"
  },
  {
    "PropagateAtLaunch": true,
    "Value": {
      "Ref": "TTER"
    },
    "Key": "tier"
  },
  {
    "PropagateAtLaunch": true,
    "Value": {
      "Ref": "CostCenter"
    },
    "Key": "cost-center"
  }
]
</code></pre>

<p>In this I want to add another section like:</p>

<pre><code>{
  "Value": {
    "Ref": "TEAM"
  },
  "PropagateAtLaunch": true,
  "Key": "TEAM"
}
</code></pre>

<p>How can I add this new section?</p>

<p>This is the query I have used to extract the first section: </p>

<pre><code>$ cat ABC.json | jq '.Resources.ASGRP.Properties.Tags'
</code></pre>