awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesSpecification Adapters

Adapters that format serialized data to comply with specific API standards like JSON API.

Distinct from JSON API Frameworks: Focuses on the adapter pattern for standard compliance rather than the full API framework.

Explore 1 awesome GitHub repository matching web development · Specification Adapters. Refine with filters or upvote what's useful.

Awesome Specification Adapters GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • rails-api/active_model_serializersrails-api 的头像

    rails-api/active_model_serializers

    5,342在 GitHub 上查看↗

    Active Model Serializers 是一个 Ruby on Rails JSON 序列化器,用于将模型对象和关联转换为用于 API 的结构化 JSON 响应。它作为一个模型到 JSON 的映射器和响应格式化程序,将内部数据库模式与外部 API 契约解耦。 该项目利用可插拔适配器模式根据特定标准(如 JSON API 规范)组织序列化数据。它提供了一种将内部属性映射到自定义 JSON 键的机制,并实现了一个序列化作用域,允许根据授权上下文和用户权限进行属性和关联过滤。 该工具集通过使用虚拟属性以及通过侧加载(sideloading)或 ID 嵌入管理关联数据来涵盖数据转换。它包括用于响应元数据注入、基于片段的结果缓存以及用于跟踪序列化指标的性能检测的功能。

    Provides a formatting layer that organizes serialized data to follow specific standards like the JSON API specification.

    Rubyjsonresource-serializerruby
    在 GitHub 上查看↗5,342
  1. Home
  2. Web Development
  3. JSON API Frameworks
  4. Specification Adapters