I have data in a TIggzi database that has three columns. when I get the data from the rest service, it comes through as JSON objects e.g.
{
"id":"516ea545e4b055aafd1f6355",
"Hour":"08:00",
"LY":".05",
"TY":"0.2"
},
{
"id":"516ea545e4b055aafd1f6356",
"Hour":"09:00",
"LY":"1",
"TY":"2"
}
I need to extact one of the JSON elements (e.g. TY) and convert it into an array (e.g. [0.2,2] so i can feed it into the chart api. Is there a way to do this?
Thanks
Peter