# File lib/json/add/ostruct.rb, line 11 def self.json_create(object) new(object['t'] || object[:t]) end