title: Javascript : add/remove json element in json object
body: <p>I need to modify my JSON Object by add/remove Json element. Here is my JSON Object,</p>
  
  <pre><code>var candidate = {  
     "name":"lokesh",
     "age":26,
     "skills":[  
        "Java",
        "Node Js",
        "Javascript"
     ]
  };
  </code></pre>
  
  <p>I need to remove the element "skills" and output should be like,</p>
  
  <pre><code>{  
     "name":"lokesh",
     "age":26
  }
  </code></pre>
  
  <p>And I again I need to add the element "skills" as string and the output should be like, </p>
  
  <pre><code>{  
     "name":"lokesh",
     "age":26,
     "skills":"javascript"
  }
  </code></pre>
  
  <p>Please help,</p>
  
  <p>Thanks in advance.</p>