How one can add a new key:value pair in existing JSON object through Javascript.
- by basit74
I have a JSON Struct like
appointerment= {ids: '15,16,17', appointments: {'15': '12.05.2010,14,05,2010'} }
now in appointments object I want to add something like '16', '21.05.2010'
what is the best possible way to do this.