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

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

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

3 个仓库

Awesome GitHub RepositoriesKey Transformers

Utilities for applying functions to transform object keys into a new object structure.

Distinct from Object Mapping: Candidates focus on reflection-based mapping or serialization, not functional key transformation.

Explore 3 awesome GitHub repositories matching data & databases · Key Transformers. Refine with filters or upvote what's useful.

Awesome Key Transformers 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 嵌入管理关联数据来涵盖数据转换。它包括用于响应元数据注入、基于片段的结果缓存以及用于跟踪序列化指标的性能检测的功能。

    Implements global and class-level formatting rules to convert attribute keys into specific casing styles.

    Rubyjsonresource-serializerruby
    在 GitHub 上查看↗5,342
  • rails/jbuilderrails 的头像

    rails/jbuilder

    4,414在 GitHub 上查看↗

    Jbuilder 是一个用于 Ruby 的 JSON 模板引擎和构建器,提供了一种用于生成结构化 JSON 对象的领域特定语言(DSL)。它作为视图助手,使用逻辑、条件和循环将数据转换为 JSON 格式。 该项目通过使用局部模板(partials)和嵌套对象来构建复杂的数据结构,以保持模块化。它包括运行时键转换功能,允许在不同的命名约定(如蛇形命名法和驼峰命名法)之间转换属性键。 该系统支持动态 JSON 结构化,能够定义运行时键并管理 null 值的输出。它还提供了一种缓存渲染后的 JSON 片段的机制,以减少重复处理。

    Provides utilities to convert attribute keys between casing styles like snake_case and camelCase during serialization.

    Ruby
    在 GitHub 上查看↗4,414
  • absinthe-graphql/absintheabsinthe-graphql 的头像

    absinthe-graphql/absinthe

    4,400在 GitHub 上查看↗

    Absinthe 是一个用于 Elixir 生态系统的 GraphQL 服务器实现和查询引擎。它提供了构建 GraphQL API 的基础工具包,包括一个针对定义的应用程序模式解析、验证和执行文档的处理引擎。 该项目包括一个批处理解析器,通过对字段请求进行分组来优化数据库性能;以及一个复杂度守卫,通过拒绝超过定义成本阈值的查询来保护系统资源。它还具有一个模式适配器,将内部 Elixir 命名约定转换为外部 GraphQL 大小写,以实现客户端兼容性。 执行模型支持异步字段解析和用于自定义查询处理的基于中间件的流水线。其他功能涵盖了查询成本分析、模式驱动的解析,以及自定义解析器和验证逻辑的能力。

    Includes utilities to convert field names between snake_case and camelCase for client compatibility.

    Elixir
    在 GitHub 上查看↗4,400
  1. Home
  2. Data & Databases
  3. Key Transformers

探索子标签

  • Casing TransformersUtilities for converting attribute keys between different casing styles such as camelCase or snake_case. **Distinct from Key Transformers:** Focuses on text casing transformations rather than general object structure or functional key mapping.