
repository crack di jnunemaker ma con versione 0.1.8 e vulnerabilità CVE-2013-0156 di rails risolta
= crack
Analisi JSON e XML molto semplici, prese da Merb e Rails. Il parser XML è preso da Merb e il parser JSON è preso da Rails. Non prendo alcun merito, li ho solo impacchettati per il divertimento e l'uso facile di tutti.
== nota sulle versioni
Le versioni sono taggate su GitHub e anche rilasciate come gem su GitHub e RubyForge. Il master viene aggiornato ogni volta che aggiungo una patch o una nuova funzionalità. Per compilare dal master, puoi clonare il codice, generare il gemspec aggiornato, creare la gem e installarla.
== nota su patch/pull request
== utilizzo
gem 'crack' require 'crack' # for xml and json require 'crack/json' # for just json require 'crack/xml' # for just xml
== esempi
Crack::XML.parse("This is the contents") # => {'tag' => 'This is the contents'}
Crack::JSON.parse('{"tag":"This is the contents"}') # => {'tag' => 'This is the contents'}
== Copyright
Copyright (c) 2009 John Nunemaker. Vedi LICENSE per i dettagli.
== Docs