how to add object to json in javascript code example Example: add to json object javascript object.property = value;