How to elegantly add data to JSON objects?

recently get a good tool to add a fiter to the button in form can get the form data d to get the JSON object, but also add some other data to the JSON how to elegantly implement?

Feb.26,2021

for example, the data you obtained is

var data = {
    name: 'wang',
    sex: '0',
    age: 12
    }
//
data.car = ''
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-e358a1-4d7d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-e358a1-4d7d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?