title: Appending a key value pair to a json object
body: <p>This is the <strong>json object</strong> I am working with </p>
  
  <pre><code>{
      "name": "John Smith",
      "age": 32,
      "employed": true,
      "address": {
          "street": "701 First Ave.",
          "city": "Sunnyvale, CA 95125",
          "country": "United States"
      },
      "children": [
          {
              "name": "Richard",
              "age": 7
          },
          {
              "name": "Susan",
              "age": 4
          },
          {
              "name": "James",
              "age": 3
          }
      ]
  }
  </code></pre>
  
  <p>I want this as another key-value pair :</p>
  
  <pre><code>"collegeId": {
                        "eventno": "6062",
                        "eventdesc": "abc"
                                              }; 
  </code></pre>
  
  <p>I tried concat but that gave me the result with || symbol and I cdnt iterate. I used spilt but that removes only commas.</p>
  
  <pre><code>concattedjson = JSON.stringify(JSON.parse(json1).concat(JSON.parse(json2)));
  </code></pre>
  
  <p>How do I add a key pair value to an existing json object ?
  I am working in  javascript.</p>