I am having a JSON response as
{ "-0.15323": "" }
How to Parse the -0.15323 part only? I mean say
var json = '{ "-0.15323": "" }'
var obj = JSON.parse(json);
Now
return obj;
should return me -0.15323 only. Slice is not a good option. Because the data may come in variable size.