Can you write a simple Ruby parse that will turn the following string:
Events[0].Lane=1
Events[0].Object.BoundingBox[0]=1248
Events[0].Object.BoundingBox[1]=3528
Events[0].Object.BoundingBox[2]=1920
Events[0].Object.BoundingBox[3]=3848
Events[0].Object.Center[0]=1584
Events[0].Object.Country=GBR
Events[0].SnapSourceCombine=false
Into this Ruby hash:
hash = {
'Lane' = 1,
'SnapSourceCombine' => false
'Object' => {
'BoundingBox' => [1248, 3528, 1920, 3848],
'Center' => [1584],
'Country' => 'GBR',
}
}