3 ms·
I recommend using Hashie::Mash[1] and turn all those hashes into objects, just like those you get when you parse the json in Javascript. This is how ruby's twit
by DanielRibeiro 15y ago
I recommend using Hashie::Mash[1] and turn all those hashes into objects, just like those you get when you parse the json in Javascript. This is how ruby's twitter[2] client handles json data.
[1] https://github.com/intridea/hashie https://github.com/intridea/hashie
[2] http://twitter.rubyforge.org/ http://twitter.rubyforge.org/
- jkreeftmeijer 15y agoGood idea, Daniel. Hashr is a tip too: https://github.com/svenfuchs/hashr https://github.com/svenfuchs/hashr :)
- deleted 15y ago[deleted]