https://github.com/jnunemaker/crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
https://github.com/jnunemaker/crack
Keywords from Contributors
rubygem activerecord activejob mvc rspec rack feature-flag crash-reporting rake rubocop
Last synced: about 3 hours ago
JSON representation
Repository metadata
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Host: GitHub
- URL: https://github.com/jnunemaker/crack
- Owner: jnunemaker
- License: mit
- Created: 2009-03-29T04:05:59.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2026-01-04T13:10:52.000Z (about 2 months ago)
- Last Synced: 2026-02-27T09:28:08.864Z (5 days ago)
- Language: Ruby
- Homepage:
- Size: 674 KB
- Stars: 548
- Watchers: 14
- Forks: 94
- Open Issues: 4
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History
- License: LICENSE
README.md
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.
compatibility
- Ruby 2.x
- Ruby 3.x
- Ruby 4.x
note on patches/pull requests
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Run the tests with
rake test - Open a Pull Request with the changes
usage
gem 'crack' # in Gemfile
require 'crack' # for xml and json
require 'crack/json' # for just json
require '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. See LICENSE for details.
Owner metadata
- Name: John Nunemaker
- Login: jnunemaker
- Email:
- Kind: user
- Description: Programmer.
- Website: http://johnnunemaker.com
- Location: US
- Twitter: jnunemaker
- Company: @fewerandfaster and @boxoutsports
- Icon url: https://avatars.githubusercontent.com/u/235?u=34ccc0c78404a1a5fed94fd9329345621da530fb&v=4
- Repositories: 74
- Last ynced at: 2023-04-09T03:48:45.004Z
- Profile URL: https://github.com/jnunemaker
GitHub Events
Total
- Delete event: 2
- Pull request event: 9
- Issues event: 1
- Watch event: 12
- Issue comment event: 4
- Push event: 7
- Pull request review event: 2
- Pull request review comment event: 1
- Create event: 4
Last Year
- Delete event: 2
- Pull request event: 5
- Issues event: 1
- Watch event: 5
- Issue comment event: 4
- Push event: 5
- Pull request review event: 2
- Pull request review comment event: 1
- Create event: 4
Committers metadata
Last synced: 3 days ago
Total Commits: 135
Total Committers: 36
Avg Commits per committer: 3.75
Development Distribution Score (DDS): 0.526
Commits in past year: 7
Committers in past year: 2
Avg Commits per committer in past year: 3.5
Development Distribution Score (DDS) in past year: 0.286
| Name | Commits | |
|---|---|---|
| John Nunemaker | n****r@g****m | 64 |
| Zsolt Kozaroczy | k****a@g****m | 12 |
| Wynn Netherland | w****d@g****m | 11 |
| rubiii | me@r****m | 4 |
| Benjamin Fleischer | g****b@b****m | 4 |
| dependabot[bot] | 4****] | 2 |
| Koichi ITO | k****o@g****m | 2 |
| James Mead | j****s@f****g | 2 |
| Gabor Ratky | g****r@s****m | 2 |
| Dan Tao | d****o@g****m | 2 |
| Ben Wyrosdick | b****k@g****m | 2 |
| Vít Ondruch | v****h@t****z | 2 |
| Tiago Cardoso | t****o@r****m | 2 |
| Matthew McEachen | m****b@m****s | 2 |
| Joe Van Dyk | j****e@f****m | 1 |
| Dave Morehouse | d****e@s****m | 1 |
| Adam C. Greenfield | a****d@g****m | 1 |
| Aditi Raveesh | a****h@g****m | 1 |
| robbie-mcfarlane | r****1@g****m | 1 |
| jgoyon | j****n@g****m | 1 |
| deadprogrammer | r****s@g****m | 1 |
| Tim Riley | t****m@o****m | 1 |
| Tamal White | t****e@a****m | 1 |
| Sandro Turriate | s****e@g****m | 1 |
| Justin Knowlden | g****s@g****s | 1 |
| Josh Nichols | j****h@t****m | 1 |
| Jordi Massaguer Pla | j****a@s****e | 1 |
| Joe Lencioni | j****i@c****m | 1 |
| Jim Meyer | j****m@g****g | 1 |
| Jacob Swanner | j****b@e****m | 1 |
| and 6 more... | ||
Committer domains:
- dio.jp: 1
- florian-duetsch.de: 1
- envylabs.com: 1
- geekdaily.org: 1
- causes.com: 1
- suse.de: 1
- technicalpickles.com: 1
- gusg.us: 1
- apple.com: 1
- openmonkey.com: 1
- serviceshift.com: 1
- fixieconsulting.com: 1
- mceachen.us: 1
- restorm.com: 1
- tiscali.cz: 1
- secretsaucepartners.com: 1
- floehopper.org: 1
- benjaminfleischer.com: 1
- rubiii.com: 1
Issue and Pull Request metadata
Last synced: 10 days ago
Total issues: 33
Total pull requests: 69
Average time to close issues: almost 6 years
Average time to close pull requests: 7 months
Total issue authors: 32
Total pull request authors: 33
Average comments per issue: 2.18
Average comments per pull request: 1.09
Merged pull request: 48
Bot issues: 0
Bot pull requests: 2
Past year issues: 2
Past year pull requests: 14
Past year average time to close issues: 14 days
Past year average time to close pull requests: about 7 hours
Past year issue authors: 2
Past year pull request authors: 3
Past year average comments per issue: 4.0
Past year average comments per pull request: 0.07
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 2
Top Issue Authors
- voxik (2)
- alhafoudh (1)
- renjithnair1985 (1)
- pravi (1)
- ricn (1)
- arjunmenon (1)
- HoneyryderChuck (1)
- gus (1)
- ypolonsky (1)
- ianterrell (1)
- Mange (1)
- mattwd7 (1)
- tc (1)
- parkr (1)
- bblimke (1)
Top Pull Request Authors
- kiskoza (21)
- voxik (8)
- rubiii (3)
- koic (3)
- gus (2)
- magec (2)
- dependabot[bot] (2)
- dmorehouse (2)
- bf4 (2)
- robbie-mcfarlane (1)
- jswanner (1)
- dtao (1)
- jordimassaguerpla (1)
- mceachen (1)
- matt-glover (1)
Top Issue Labels
Top Pull Request Labels
- dependencies (2)
- github_actions (2)
Package metadata
- Total packages: 26
-
Total downloads:
- rubygems: 737,413,056 total
- Total docker downloads: 4,315,560,682
- Total dependent packages: 313 (may contain duplicates)
- Total dependent repositories: 47,850 (may contain duplicates)
- Total versions: 96
- Total maintainers: 3
- Total advisories: 1
gem.coop: crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: https://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/crack/
- Licenses: MIT
- Latest release: 1.0.1 (published 4 months ago)
- Last Synced: 2026-03-02T14:00:36.897Z (1 day ago)
- Versions: 21
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 368,578,331 Total
- Docker Downloads: 2,157,780,341
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.029%
- Docker downloads count: 0.051%
- Downloads: 0.064%
- Maintainers (3)
ubuntu-22.04: ruby-crack
- Homepage: https://github.com/jnunemaker/crack
- Licenses: mit
- Latest release: 0.4.4-2 (published 18 days ago)
- Last Synced: 2026-02-13T13:14:51.776Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.355%
- Forks count: 0.697%
- Stargazers count: 0.723%
rubygems.org: crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: https://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/crack/
- Licenses: MIT
- Latest release: 1.0.1 (published 4 months ago)
- Last Synced: 2026-03-03T03:01:22.254Z (about 21 hours ago)
- Versions: 21
- Dependent Packages: 310
- Dependent Repositories: 47,847
- Downloads: 368,754,363 Total
- Docker Downloads: 2,157,780,341
-
Rankings:
- Downloads: 0.068%
- Docker downloads count: 0.125%
- Dependent packages count: 0.137%
- Dependent repos count: 0.153%
- Average: 0.946%
- Stargazers count: 2.467%
- Forks count: 2.727%
- Maintainers (3)
- Advisories:
proxy.golang.org: github.com/jnunemaker/crack
- Homepage:
- Documentation: https://pkg.go.dev/github.com/jnunemaker/crack#section-documentation
- Licenses: mit
- Latest release: v1.0.1 (published 5 months ago)
- Last Synced: 2026-02-25T18:01:41.488Z (6 days ago)
- Versions: 21
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 2.616%
- Forks count: 2.71%
- Average: 6.426%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
rubygems.org: jnunemaker-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/jnunemaker-crack/
- Licenses: mit
- Latest release: 0.1.4 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:37.962Z (6 days ago)
- Versions: 5
- Dependent Packages: 3
- Dependent Repositories: 3
- Downloads: 16,583 Total
-
Rankings:
- Stargazers count: 2.455%
- Forks count: 2.727%
- Dependent packages count: 4.044%
- Average: 11.169%
- Dependent repos count: 12.636%
- Downloads: 33.984%
gem.coop: jnunemaker-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/jnunemaker-crack/
- Licenses: mit
- Latest release: 0.1.4 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:38.828Z (6 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 16,583 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 11.292%
- Downloads: 33.877%
gem.coop: mdub-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/mdub-crack/
- Licenses: mit
- Latest release: 0.1.5 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:38.739Z (6 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,625 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 19.702%
- Downloads: 59.106%
gem.coop: crack-without-safe_yaml
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/crack-without-safe_yaml/
- Licenses: MIT
- Latest release: 0.4.3 (published over 9 years ago)
- Last Synced: 2026-02-25T18:01:38.754Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 5,242 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 22.466%
- Downloads: 67.397%
- Maintainers (1)
gem.coop: alistairholt-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/alistairholt-crack/
- Licenses: mit
- Latest release: 0.1.4 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:37.782Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,503 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 24.167%
- Downloads: 72.5%
rubygems.org: mdub-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/mdub-crack/
- Licenses: mit
- Latest release: 0.1.5 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:38.930Z (6 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,625 Total
-
Rankings:
- Stargazers count: 2.276%
- Forks count: 2.474%
- Dependent packages count: 15.706%
- Average: 25.301%
- Dependent repos count: 46.782%
- Downloads: 59.266%
gem.coop: tamalw-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/tamalw-crack/
- Licenses: mit
- Latest release: 0.1.3 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:39.314Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,694 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.009%
- Downloads: 81.028%
rubygems.org: crack-without-safe_yaml
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/crack-without-safe_yaml/
- Licenses: MIT
- Latest release: 0.4.3 (published over 9 years ago)
- Last Synced: 2026-02-25T18:01:38.707Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 5,242 Total
-
Rankings:
- Stargazers count: 2.276%
- Forks count: 2.474%
- Dependent packages count: 15.706%
- Average: 27.443%
- Dependent repos count: 46.782%
- Downloads: 69.975%
- Maintainers (1)
gem.coop: sishen-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/sishen-crack/
- Licenses: mit
- Latest release: 0.1.4 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:37.588Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,534 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.706%
- Downloads: 83.118%
rubygems.org: alistairholt-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/alistairholt-crack/
- Licenses: mit
- Latest release: 0.1.4 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:38.997Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,503 Total
-
Rankings:
- Stargazers count: 2.276%
- Forks count: 2.474%
- Dependent packages count: 15.706%
- Average: 28.077%
- Dependent repos count: 46.782%
- Downloads: 73.146%
rubygems.org: tamalw-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/tamalw-crack/
- Licenses: mit
- Latest release: 0.1.3 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:37.625Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,694 Total
-
Rankings:
- Stargazers count: 2.276%
- Forks count: 2.474%
- Dependent packages count: 15.706%
- Average: 29.949%
- Dependent repos count: 46.782%
- Downloads: 82.508%
rubygems.org: sishen-crack
Really simple JSON and XML parsing, ripped from Merb and Rails.
- Homepage: http://github.com/jnunemaker/crack
- Documentation: http://www.rubydoc.info/gems/sishen-crack/
- Licenses: mit
- Latest release: 0.1.4 (published over 11 years ago)
- Last Synced: 2026-02-25T18:01:38.703Z (6 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,534 Total
-
Rankings:
- Stargazers count: 2.276%
- Forks count: 2.474%
- Dependent packages count: 15.706%
- Average: 30.328%
- Dependent repos count: 46.782%
- Downloads: 84.403%
debian-13: ruby-crack
- Homepage: https://github.com/jnunemaker/crack
- Documentation: https://packages.debian.org/trixie/ruby-crack
- Licenses:
- Latest release: 0.4.4-4 (published 19 days ago)
- Last Synced: 2026-02-13T13:14:26.827Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-crack
- Homepage: https://github.com/jnunemaker/crack
- Documentation: https://packages.debian.org/bookworm/ruby-crack
- Licenses:
- Latest release: 0.4.4-4 (published 19 days ago)
- Last Synced: 2026-02-12T23:27:33.144Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
guix: ruby-crack
Simple JSON and XML parsing for Ruby
- Homepage: https://github.com/jnunemaker/crack
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/ruby-xyz.scm#n2274
- Licenses: expat
- Latest release: 0.4.5 (published 1 day ago)
- Last Synced: 2026-03-02T18:58:24.598Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-10: ruby-crack
- Homepage: https://github.com/jnunemaker/crack
- Documentation: https://packages.debian.org/buster/ruby-crack
- Licenses:
- Latest release: 0.4.3-3 (published 21 days ago)
- Last Synced: 2026-02-13T04:20:02.916Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-crack
- Homepage: https://github.com/jnunemaker/crack
- Documentation: https://packages.debian.org/bullseye/ruby-crack
- Licenses:
- Latest release: 0.4.4-1 (published 21 days ago)
- Last Synced: 2026-02-13T08:19:14.855Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-20.04: ruby-crack
- Homepage: https://github.com/jnunemaker/crack
- Licenses: mit
- Latest release: 0.4.3-4 (published 19 days ago)
- Last Synced: 2026-02-13T07:12:00.679Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- minitest >= 0
- rake >= 0
- rexml >= 0
- actions/checkout v4 composite
- ruby/setup-ruby v1 composite
Score: 32.24031974433648