I am trying to remove the empty json data being posted. I tried the php function array_filter, but in all honesty, I am not sure if that is the right move.
data[0][] Test1
data[0][] 91.00
data[0][] 14.00
data[1][] Test2
data[1][] 23.01
data[1][] 14.00
data[2][] Test3
data[2][] 32.00
data[2][] 14.00
data[3][0]
data[3][1]
data[3][2]