Sha256: e22a6273925e399cad0ba4817f4c65ad40c5dffb8a4bb74343d06775949070f4
Contents?: true
Size: 674 Bytes
Versions: 3
Compression:
Stored size: 674 Bytes
Contents
= crack Really simple JSON and XML parsing, ripped from Merb and Rails. The XML parser is ripped from Merb and the JSON parser is ripped from Rails. I take no credit, just packaged them for all to enjoy and easily use. = usage gem 'crack' require '10to1-crack' # for xml and json require '10to1-crack/json' # for just json require '10to1-crack/xml' # for just xml = examples Crack::XML.parse("<tag>This is the contents</tag>") # => {'tag' => 'This is the contents'} Crack::JSON.parse('{"tag":"This is the contents"}') # => {'tag' => 'This is the contents'} == Copyright Copyright (c) 2009 John Nunemaker and 10to1. See LICENSE for details.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
10to1-crack-0.1.1 | README.rdoc |
10to1-crack-0.1.2 | README.rdoc |
10to1-crack-0.1.3 | README.rdoc |