{"id":20904670,"url":"https://github.com/sage/json_kit","last_synced_at":"2026-02-07T06:32:49.915Z","repository":{"id":56879565,"uuid":"62785028","full_name":"Sage/json_kit","owner":"Sage","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-03T16:11:46.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-20T12:59:23.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Sage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2016-07-07T07:33:26.000Z","updated_at":"2024-02-06T15:12:00.000Z","dependencies_parsed_at":"2025-01-03T09:16:12.890Z","dependency_job_id":null,"html_url":"https://github.com/Sage/json_kit","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"4d8e9195db92c756f3224e05611a02ddbfcfdaee"},"previous_names":["vaughanbrittonsage/json_kit"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sage%2Fjson_kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sage%2Fjson_kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sage%2Fjson_kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sage%2Fjson_kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sage","download_url":"https://codeload.github.com/Sage/json_kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253882687,"owners_count":21978535,"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-11-18T13:18:27.077Z","updated_at":"2026-02-07T06:32:49.874Z","avatar_url":"https://github.com/Sage.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JsonKit\n\n[![Build Status](https://travis-ci.org/Sage/json_kit.svg?branch=master)](https://travis-ci.org/Sage/json_kit)\n[![Maintainability](https://api.codeclimate.com/v1/badges/aceb2a238169f80ca614/maintainability)](https://codeclimate.com/github/Sage/json_kit/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/aceb2a238169f80ca614/test_coverage)](https://codeclimate.com/github/Sage/json_kit/test_coverage)\n[![Gem Version](https://badge.fury.io/rb/json_kit.svg)](https://badge.fury.io/rb/json_kit)\n\nWelcome to your JsonKit! JsonKit is a toolkit for working with json.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'json_kit'\n```\n\nAnd then execute:\n\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install json_kit\n```\n\n## Usage\n\n\n#JsonKit::Helper\n\nThis is class contains helper methods for working with json.\n\n## #to_json\n\nThis method is called to convert an object to a json string. (This can be a class instance or hash)\n\n```ruby\njson = helper.to_json(obj)\n```\n\n## #from_json\n\nThis method is called to convert a json string to an ruby object.\n\n```ruby\nhash = helper.from_json(json)\n\n  ....\n\n#json_kit uses hash_kit so supports specifying a class name and transforms to convert the json into a ruby class instance.\nobj = helper.from_json(json, TestEntity, transforms)\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/sage/json_kit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThis gem is available as open source under the terms of the\n[MIT licence](LICENSE).\n\nCopyright (c) 2018 Sage Group Plc. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsage%2Fjson_kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsage%2Fjson_kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsage%2Fjson_kit/lists"}