{"id":26164701,"url":"https://github.com/optum/legion-json","last_synced_at":"2026-04-25T02:36:19.961Z","repository":{"id":56880960,"uuid":"372973235","full_name":"Optum/legion-json","owner":"Optum","description":"A JSON wrapper module for the LegionIO framework","archived":false,"fork":false,"pushed_at":"2021-06-05T15:47:00.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-08T13:36:54.438Z","etag":null,"topics":["json","legionio","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Optum.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2021-06-01T22:10:50.000Z","updated_at":"2021-06-05T15:39:25.000Z","dependencies_parsed_at":"2022-08-20T23:40:12.539Z","dependency_job_id":null,"html_url":"https://github.com/Optum/legion-json","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Flegion-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Optum","download_url":"https://codeload.github.com/Optum/legion-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243060932,"owners_count":20229891,"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":["json","legionio","ruby"],"created_at":"2025-03-11T15:39:45.356Z","updated_at":"2025-12-24T03:33:25.998Z","avatar_url":"https://github.com/Optum.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Legion::Json\n=====\n\nLegion::Json is the JSON wrapper that is used by the LegionIO framework. It gives all other gems and extensions a single \njson library to use for consistency. It wraps [multi_json](https://rubygems.org/gems/multi_json) and also [json_pure](https://rubygems.org/gems/json_pure)\n\nAdditional C extension style json gems can be installed like [oj](https://rubygems.org/gems/oj) and it they should be \nused automatically. \n\nSupported Ruby versions and implementations\n------------------------------------------------\n\nLegion::Json should work identically on:\n\n * JRuby 9.2+\n * Ruby 2.4+\n\n\nInstallation and Usage\n------------------------\n\nYou can verify your installation using this piece of code:\n\n```bash\ngem install legion-json\n```\n\n```ruby\nrequire 'legion-json'\njson_string = '{\"foo\":\"bar\",\"nested\":{\"hello\":\"world\"}}'\nLegion::Json.load(json_string)\nLegion::Json.load(json_string, symbolize_keys: false) # symbolize_keys defaults to true\n\nhash = {foo: 'bar', nested: {hello: 'world'}}\nLegion::Json.dump(hash)\nLegion::Json.dump(hash, )\n\n```\n\nAuthors\n----------\n\n* [Matthew Iverson](https://github.com/Esity) - current maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptum%2Flegion-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptum%2Flegion-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptum%2Flegion-json/lists"}