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

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

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

5 个仓库

Awesome GitHub RepositoriesClass Instance to Plain Object Converters

Converts class instances back into plain JavaScript objects for serialization or transmission.

Distinct from Object Transformation: Distinct from Object Transformation: specifically converts class instances to plain objects, not general property manipulation on arbitrary objects.

Explore 5 awesome GitHub repositories matching data & databases · Class Instance to Plain Object Converters. Refine with filters or upvote what's useful.

Awesome Class Instance to Plain Object Converters GitHub Repositories

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

    typestack/class-transformer

    7,334在 GitHub 上查看↗

    class-transformer is a TypeScript library that converts plain JavaScript objects into typed class instances and back, using decorators to define transformation rules. It serves as a decorator-based object transformer, JSON deserialization library, and property transformation framework, enabling type-safe serialization and deserialization of class instances. The library distinguishes itself through comprehensive property filtering and mapping capabilities. It supports excluding properties by default, by prefix, by operation (serialization or deserialization), or by explicit marking, as well as

    Converts class instances back into plain JavaScript objects for serialization or transmission.

    TypeScriptexposing-gettersexposing-propertiestransformation
    在 GitHub 上查看↗7,334
  • mobxjs/mobx-state-treemobxjs 的头像

    mobxjs/mobx-state-tree

    7,050在 GitHub 上查看↗

    MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera

    Converts a model tree into an immutable plain JavaScript object for transport or serialization.

    TypeScripthacktoberfestmobxmobx-state-tree
    在 GitHub 上查看↗7,050
  • python-attrs/attrspython-attrs 的头像

    python-attrs/attrs

    5,799在 GitHub 上查看↗

    attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it

    Converts class instances into plain dictionaries for serialization or inspection.

    Python
    在 GitHub 上查看↗5,799
  • vuejs/vue-class-componentvuejs 的头像

    vuejs/vue-class-component

    5,763在 GitHub 上查看↗

    该库提供了一种使用 ES6 类和装饰器构建用户界面组件的结构模式。它是一个 TypeScript 组件库,允许开发者通过将组件定义为类而不是使用标准选项对象,在 Vue 框架内管理状态和逻辑。 该项目利用 TypeScript 装饰器将类属性和方法转换为框架运行时所需的标准格式。这种方法实现了一种基于类的组件架构,利用 TypeScript 提高了类型安全性和代码组织性。 该系统通过基于原型的逻辑提取和基于装饰器的映射,将基于类的定义转换为纯 JavaScript 对象。它进一步通过将类实例成员映射到组件的响应式状态系统来同步数据更新。

    Converts class-based component definitions into plain JavaScript objects to maintain compatibility with the framework's internal options system.

    TypeScript
    在 GitHub 上查看↗5,763
  • biolab/orange3biolab 的头像

    biolab/orange3

    5,635在 GitHub 上查看↗

    Orange3 is a visual data mining platform that provides an interactive canvas for building data analysis workflows without writing code. At its core, it offers a widget-based visual programming environment where users connect configurable components to perform data preprocessing, machine learning model training, statistical evaluation, and interactive visualization. The platform is built on NumPy-backed data tables with domain descriptors that define variable names, types, and roles, and includes a lazy SQL query proxy for working with database tables without loading all data into memory. The

    Transforms individual data instances between different domain schemas with automatic value conversion.

    Python
    在 GitHub 上查看↗5,635
  1. Home
  2. Data & Databases
  3. Ordered Data Structures
  4. Ordered Collection Literals
  5. Object Collection Processors
  6. Object Transformation
  7. Class Instance to Plain Object Converters

探索子标签

  • Instance-Aware Converters1 个子标签Wraps a converter to receive the current instance and field definition during value conversion. **Distinct from Class Instance to Plain Object Converters:** Distinct from Class Instance to Plain Object Converters: focuses on converters that receive instance context, not general instance-to-plain-object conversion.
  • Python Class Instance to Dict ConvertersConverts Python class instances into plain dictionaries for serialization or inspection. **Distinct from Class Instance to Plain Object Converters:** Distinct from Class Instance to Plain Object Converters: targets Python classes, not JavaScript objects.