I am getting JSON data from server, I have always confusion about this, How I will know that, fetched data is json string or json object. I have asked two questions but both are related.
{"series": [{"meter": "instance", "data": [{"y": 82.0, "x": "2015-07-14T23:58:00"}, {"y": 142.0, "x": "2015-07-15T23:58:10"}, {"y": 144.0, "x": "2015-07-16T23:58:10"}, {"y": 139.0, "x": "2015-07-17T23:56:17"}, {"y": 144.0, "x": "2015-07-18T23:56:18"}, {"y": 144.0, "x": "2015-07-19T23:56:17"}, {"y": 277.0, "x": "2015-07-20T23:50:09"}, {"y": 294.0, "x": "2015-07-21T23:51:34"}, {"y": 135.0, "x": "2015-07-22T07:21:34"}], "name": "demo", "unit": "instance"}], "settings": {}}
If above is JSON object or JSON string then how will I convert into each other?