I had a problem getting parameters from json chain, json I got something like this
[{"aa":"bb","ccc":"ddd","eeee":"ffff","ggggg":"hhhhh","iiiiii":"jjjjjj","kkkkkkk":"lllllll"}]
I am trying to count the number of pairs inside "{}", but I do not know how to do this. I tried json.length and json[0].length , the first gave me the value "1" and the second gave me undefined .
source share