add proper way to json and get value in javascript code example Example: add to json object javascript object.property = value;