Edit data in json file

How to edit/add data into .json file .

this is my .json file

{
  "result": [{
      "title": "School tree planation",
      "listDetails": {
        "date": "Aug 15",
        "starttime": "7:00 AM",
        "endtime": "10:00 AM",
        "friendName": "thozan",
        "marks": "10/100",
        "Bribe": "Rs 100",
        "thumbnail":"img/klm.jpg",
        "location" : "Don Guanella School",
        "accessId" : "event1"
      }
    }  ]

}

can you tell me how to edit the accessId attribute in ,json file and also how to add data in json file.