Voglio aggiungere nuove obj di JSON
come:Come aggiungere un nuovo oggetto in JSON usando jQuery o JavaScript?
"128": {
"Msg": [{
"me": "hi"
}, {
"user": "hello"
}, {
"me": "whtup"
}]
}
Nel esistere JSON
oggetto Esempio di JSON
:
{
"188": {
"Msg": [{
"me": "hi"
}, {
"user": "hello"
}, {
"me": "ki chal riha hai"
}]
},
"123": {
"Msg": [{
"me": "hi"
}, {
"user": "hello"
}, {
"me": "whtup"
}]
},
"128": {
"Msg": [{
"me": "hi"
}, {
"user": "hello"
}, {
"me": "whtup"
}]
}
si prega di dare un'occhiata a questo http://stackoverflow.com/questions/736590/how-do-i- add-new-attribute-element-to-json-object-using-javascript – manishbagra
voglio aggiungere json obj in json questo è per aggiungere dati in array tipo di json obj – pargan