I have json data stored something like this:
{"values":{"a":0.65, "b":0.35}}
I want to return the key which has the largest value in "values"
So in above case, I want to return:
a
since it has the largest value
Some of the rows have no values in the data which will have:
{}
as a default
I need to handle those entries with {} and return Null as well.