{"id":13877971,"url":"https://github.com/jnunemaker/crack","last_synced_at":"2025-05-13T18:05:40.171Z","repository":{"id":43256141,"uuid":"162219","full_name":"jnunemaker/crack","owner":"jnunemaker","description":"Really simple JSON and XML parsing, ripped from Merb and Rails.","archived":false,"fork":false,"pushed_at":"2025-02-12T16:47:29.000Z","size":679,"stargazers_count":544,"open_issues_count":4,"forks_count":94,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-27T18:00:52.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jnunemaker.png","metadata":{"files":{"readme":"README.md","changelog":"History","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-03-29T04:05:59.000Z","updated_at":"2025-03-23T12:52:26.000Z","dependencies_parsed_at":"2025-01-16T08:08:12.060Z","dependency_job_id":"b08d1ecb-a661-4bd9-8b58-7f2831550e9b","html_url":"https://github.com/jnunemaker/crack","commit_stats":{"total_commits":126,"total_committers":35,"mean_commits":3.6,"dds":0.4920634920634921,"last_synced_commit":"bb3fe5dc911858a148000496bdc1676e3536aaf4"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fcrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fcrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fcrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fcrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnunemaker","download_url":"https://codeload.github.com/jnunemaker/crack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246054606,"owners_count":20716398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T08:01:36.344Z","updated_at":"2025-04-03T19:00:13.435Z","avatar_url":"https://github.com/jnunemaker.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# crack\n\n[![Test](https://github.com/jnunemaker/crack/actions/workflows/test.yml/badge.svg)](https://github.com/jnunemaker/crack/actions/workflows/test.yml)\n[![Gem Version](https://badge.fury.io/rb/crack.svg)](https://badge.fury.io/rb/crack)\n![downloads](https://img.shields.io/gem/dt/crack?label=downloads)\n\nReally 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.\n\n## compatibility\n\n* Ruby 2.x\n* Ruby 3.x\n\n## note on patches/pull requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a future version unintentionally.\n* Run the tests with `rake test`\n* Open a Pull Request with the changes\n\n## usage\n\n```ruby\ngem 'crack' # in Gemfile\nrequire 'crack' # for xml and json\nrequire 'crack/json' # for just json\nrequire 'crack/xml' # for just xml\n```\n\n## examples\n\n```ruby\nCrack::XML.parse(\"\u003ctag\u003eThis is the contents\u003c/tag\u003e\")\n# =\u003e {'tag' =\u003e 'This is the contents'}\n\nCrack::JSON.parse('{\"tag\":\"This is the contents\"}')\n# =\u003e {'tag' =\u003e 'This is the contents'}\n```\n\n## Copyright\n\nCopyright (c) 2009 John Nunemaker. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnunemaker%2Fcrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnunemaker%2Fcrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnunemaker%2Fcrack/lists"}