# File lib/cimi/model/base.rb, line 159 def self.from_json(text) json = JSON::parse(text) model = self.new @schema.from_json(json, model) model end