I am trying to convert hash and nested hashes to objects.
so far first hash object is converted successfully by this code:
class Hashit def initialize(
You can use OpenStruct http://ruby-doc.org/stdlib-2.0.0/libdoc/ostruct/rdoc/OpenStruct.html
user = OpenStruct.new({name: "Jimmy Cool", age: "25"}) user.name #Jimmy Cool user.age #25