views:

19

answers:

0

Given this object is SELECT input which name = "record[exp_items][1279485786799][batch]" and I want to find all fields in "record[exp_items][1279485786799]" artificial hash and serialize them.

Keep in mind that 1279485786799, exp_items always change, so I need either move to one level up in hash and serialize it or find all these objects with some magic finder, generated from name string. Or maybe there are some better ways to do it.

Any suggestions how to do it with as less code as possible?