I have a `json` output where it gets two strings with format such as

```
   [{"device_id":"9700015","update_time":"2017-01-04 18:30:00","sensor_value":"1287.6"}]
   [{"device_id":"9700016","update_time":"2016-12-31 18:30:00","sensor_value":"1113.8"}]

```

I want to parse these strings into one object. I have used the `JSON.parse(data)` but its giving me first string in object and not the all strings. How do I achieve this.

i want the output should be 

```
   [{"device_id":"9700015","update_time":"2017-01-04 18:30:00","sensor_value":"1287.6"},
   {"device_id":"9700016","update_time":"2016-12-31 18:30:00","sensor_value":"1113.8"}]

```