I looked into different resources and still get confused on how to parse a json format to a custom object, for example
class Resident attr_accessor :phone,
We recently released a Ruby library static_struct that solves the issue. Check it out.
static_struct