Sha256: d9cb8092db3676fe026ac9d5c44a05042ad1fbb6ba3c7e35856cde58f1547f91
Contents?: true
Size: 275 Bytes
Versions: 22
Compression:
Stored size: 275 Bytes
Contents
class JSONParser def self.parse_from_url(url) data = DataParser.parse(url) error_ptr = Pointer.new(:object) json = NSJSONSerialization.JSONObjectWithData(data, options:0, error:error_ptr) unless json raise error_ptr[0] end json end end
Version data entries
22 entries across 21 versions & 2 rubygems