Classes: JObject
"1.0.0"
6 7 8 9
# File 'lib/jObject.rb', line 6 def self.parse(json) data_hash = JSON.parse(json) JObject.new(data_hash) end
11 12 13 14 15 16
# File 'lib/jObject.rb', line 11 def self.parse_each(json) data_array = JSON.parse(json) data_array.map do |hash| JObject.new(hash) end end