{"id":18265549,"url":"https://github.com/wintercore/jsonerino","last_synced_at":"2026-05-20T07:39:17.116Z","repository":{"id":56879542,"uuid":"274725669","full_name":"WinterCore/jsonerino","owner":"WinterCore","description":"Another JSON parser written from scratch in Ruby","archived":false,"fork":false,"pushed_at":"2023-07-23T21:10:46.000Z","size":173,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T04:16:15.273Z","etag":null,"topics":["cli","json","parser","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/jsonerino","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WinterCore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-06-24T17:10:43.000Z","updated_at":"2021-11-03T23:07:03.000Z","dependencies_parsed_at":"2025-01-11T15:56:20.061Z","dependency_job_id":"7ccd1324-cac9-4e5f-a8e4-2ec29a0bc220","html_url":"https://github.com/WinterCore/jsonerino","commit_stats":{"total_commits":34,"total_committers":1,"mean_commits":34.0,"dds":0.0,"last_synced_commit":"7bd2100802bf35f685c2b4c129edc6195574c8f4"},"previous_names":["wintercore/microverse-ruby-capstone-json-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterCore%2Fjsonerino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterCore%2Fjsonerino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterCore%2Fjsonerino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinterCore%2Fjsonerino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WinterCore","download_url":"https://codeload.github.com/WinterCore/jsonerino/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958714,"owners_count":21024825,"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":["cli","json","parser","ruby"],"created_at":"2024-11-05T11:18:47.056Z","updated_at":"2026-04-27T08:31:46.878Z","avatar_url":"https://github.com/WinterCore.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSONERINO\n\nJSONERINO is a lightweight json parser written in ruby. with no dependencies. It also contains a command line tool for validating json files (check below).\n\n## Usage\n\nFirst of all you need to add the following to your `Gemfile`\n```\ngem 'jsonerino'\n```\nThen you need to run `bundle install`.\n\nAfter that you can use it to parse json by calling the `parse` method\n\n```ruby\nrequire 'jsonerino'\n\np Jsonerino::parse('nil') == nil # true\n\noutput = Jsonerino::parse('[{\"name\" : \"Alex\", \"age\" : 15 }]')\n\np output == [{\"name\" =\u003e \"Alex\",\"age\" =\u003e 15}] # true\n\n```\n\n\nCalling the `parse` method will convert the json string to it's corresponding ruby representation.\n\n\n[![Run on Repl.it](https://repl.it/badge/github/WinterCore/microverse-ruby-capstone-json-parser)](https://repl.it/@WinterCore/microverse-ruby-capstone-json-parser#main.rb)\n\n## Using the included json validator\n\n![CLI DEMO](cli-demo.gif)\n\n- Run `gem install jsonerino`\n- Run `jsonerino \u003cfile|directory\u003e`\n    If no filename is provided. jsonerino will try to parse all the JSON files that are in your current working directory.\n\n## Invalid JSON Examples\n\n```json\n{ \"foo: true }\n```\nWill throw \"End of data reached while reading JSON contents\" error. Because the parser will interpret everything after the first double quotes character as a string and it continues reading until it finds a closing double quotes. But in this case it doesn't which is why an error is thrown.\n\n```json\n{ \"hey\": foo }\n```\nWill throw \"Unexpected token foo\". Because foo is an unkown identifier. The allowed identifiers in JSON are `true`, `false`, and `null`. And in this case the error can be fixed by wrapping it in a string.\n\n## Built with\n\n- Ruby\n\n## Development Commands\n\n- Run tests `bundle exec rspec`\n- Run rubocop (code linter) `bundle exec rubocop`\n\nNote: Make sure to run `bundle install` in the project's directory before trying to run the previous commands.\n\n## Authors\n\n👤  **WinterCore**\n\n- Github: [@WinterCore](https://github.com/WinterCore)\n\n## 🤝  Contributing\n\nContributions, issues and feature requests are welcome! Start by:\n\n- Forking the project\n- Cloning the project to your local machine\n- `cd` into the project directory\n- Run `git checkout -b your-branch-name`\n- Make your contributions\n- Push your branch up to your forked repository\n- Open a Pull Request with a detailed description to the development branch of the original project for a review\n\n## Show your support\n\nGive a ⭐️  if you like this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintercore%2Fjsonerino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwintercore%2Fjsonerino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintercore%2Fjsonerino/lists"}