[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7996":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":16,"starSnapshotCount":16,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},7996,"jsonapi-resources","JSONAPI-Resources\u002Fjsonapi-resources","JSONAPI-Resources","A resource-focused Rails library for developing JSON:API compliant servers.","http:\u002F\u002Fjsonapi-resources.com",null,"Ruby",2325,542,41,208,0,60.2,"MIT License",false,"master",true,[],"2026-06-12 04:00:36","# JSONAPI::Resources [![Gem Version](https:\u002F\u002Fbadge.fury.io\u002Frb\u002Fjsonapi-resources.svg)](https:\u002F\u002Fbadge.fury.io\u002Frb\u002Fjsonapi-resources) [![Build Status](https:\u002F\u002Fsecure.travis-ci.org\u002Fcerebris\u002Fjsonapi-resources.svg?branch=master)](http:\u002F\u002Ftravis-ci.org\u002Fcerebris\u002Fjsonapi-resources) [![Code Climate](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002Fcerebris\u002Fjsonapi-resources\u002Fbadges\u002Fgpa.svg)](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002Fcerebris\u002Fjsonapi-resources)\n\n[![Join the chat at https:\u002F\u002Fgitter.im\u002Fcerebris\u002Fjsonapi-resources](https:\u002F\u002Fbadges.gitter.im\u002FJoin%20Chat.svg)](https:\u002F\u002Fgitter.im\u002Fcerebris\u002Fjsonapi-resources?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n`JSONAPI::Resources`, or \"JR\", provides a framework for developing an API server that complies with the\n[JSON:API](http:\u002F\u002Fjsonapi.org\u002F) specification.\n\nLike JSON:API itself, JR's design is focused on the resources served by an API. JR needs little more than a definition\nof your resources, including their attributes and relationships, to make your server compliant with JSON API.\n\nJR is designed to work with Rails 5.1+, and provides custom routes, controllers, and serializers. JR's resources may be\nbacked by ActiveRecord models or by custom objects.\n\n## Documentation\n\nFull documentation can be found at [http:\u002F\u002Fjsonapi-resources.com](http:\u002F\u002Fjsonapi-resources.com), including the [v0.10 alpha Guide](http:\u002F\u002Fjsonapi-resources.com\u002Fv0.10\u002Fguide\u002F) specific to this version. \n\n## Demo App\n\nWe have a simple demo app, called [Peeps](https:\u002F\u002Fgithub.com\u002Fcerebris\u002Fpeeps), available to show how JR is used.\n\n## Client Libraries\n\nJSON:API maintains a (non-verified) listing of [client libraries](http:\u002F\u002Fjsonapi.org\u002Fimplementations\u002F#client-libraries)\nwhich *should* be compatible with JSON:API compliant server implementations such as JR.\n\n## Installation\n\nAdd JR to your application's `Gemfile`:\n\n``` \ngem 'jsonapi-resources'\n```\n\nAnd then execute:\n\n```bash \nbundle\n```\n\nOr install it yourself as:\n\n```bash \ngem install jsonapi-resources\n```\n\n**For further usage see the [v0.10 alpha Guide](http:\u002F\u002Fjsonapi-resources.com\u002Fv0.10\u002Fguide\u002F)**\n\n## Contributing\n\n1. Submit an issue describing any new features you wish it add or the bug you intend to fix\n1. Fork it ( http:\u002F\u002Fgithub.com\u002Fcerebris\u002Fjsonapi-resources\u002Ffork )\n1. Create your feature branch (`git checkout -b my-new-feature`)\n1. Run the full test suite (`rake test`)\n1. Fix any failing tests\n1. Commit your changes (`git commit -am 'Add some feature'`)\n1. Push to the branch (`git push origin my-new-feature`)\n1. Create a new Pull Request\n\n## Did you find a bug?\n\n* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https:\u002F\u002Fgithub.com\u002Fcerebris\u002Fjsonapi-resources\u002Fissues).\n\n* If you're unable to find an open issue addressing the problem, [open a new one](https:\u002F\u002Fgithub.com\u002Fcerebris\u002Fjsonapi-resources\u002Fissues\u002Fnew). \nBe sure to include a **title and clear description**, as much relevant information as possible, \nand a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.\n\n* If possible, use the relevant bug report templates to create the issue. \nSimply copy the content of the appropriate template into a .rb file, make the necessary changes to demonstrate the issue, \nand **paste the content into the issue description or attach as a file**:\n  * [**Rails 5** issues](https:\u002F\u002Fgithub.com\u002Fcerebris\u002Fjsonapi-resources\u002Fblob\u002Fmaster\u002Flib\u002Fbug_report_templates\u002Frails_5_master.rb)\n\n\n## License\n\nCopyright 2014-2021 Cerebris Corporation. MIT License (see LICENSE for details).\n","JSONAPI::Resources 是一个专注于资源的 Ruby 库，用于开发符合 JSON:API 规范的服务器。其核心功能包括自定义路由、控制器和序列化器，支持 ActiveRecord 模型或自定义对象作为后端。通过简单定义资源及其属性和关系即可使服务器满足 JSON:API 标准。适用于需要构建高效、标准化 RESTful API 的场景，特别是当你的项目基于 Rails 5.1+ 并且希望遵循 JSON:API 规范时。",2,"2026-06-11 03:15:31","top_language"]