Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

10to1-crack

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

10to1-crack

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= 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("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 and 10to1. See LICENSE for details.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc