11 个仓库
Automated mapping of request payloads to objects using type inspection.
Distinguishing note: Focuses on the reflection mechanism for parsing rather than general validation.
Explore 11 awesome GitHub repositories matching web development · Reflection-Based Data Binding. Refine with filters or upvote what's useful.
Echo is a high-performance, lightweight web framework for Go designed for building scalable RESTful APIs and web services. It provides a centralized environment for mapping network requests to handler functions, utilizing a fast radix-tree routing engine to ensure efficient request dispatching. The framework is built around a modular, middleware-centric pipeline that allows developers to execute reusable logic for cross-cutting concerns like authentication, logging, and security across the entire application. What distinguishes Echo is its focus on developer productivity through structured da
Maps incoming request payloads into structured objects automatically by inspecting type definitions to reduce manual parsing boilerplate.
Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the infrastructure necessary to build HTTP/2 web applications, REST APIs, and MVC-based websites. The project distinguishes itself through a flexible architectural model that supports multiple isolated application instances within a single process and allows for binary-embedded asset loading to eliminate external filesystem dependencies. It features dynamic router hot-reloading and a pluggable view engine for rendering dynamic HTML content. The framework covers a broad range of capabilities,
Uses Go reflection to automatically map request parameters and bodies to handler function arguments.
Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a model-view-controller architecture to separate business logic from user interface rendering, providing a comprehensive system for routing, parameter binding, and session management. The project distinguishes itself with a high-productivity development environment featuring automatic code compilation and hot-reloading, which refreshes the application state and templates upon file changes without requiring manual restarts. It also employs reflection-based parameter binding to automati
Implements automatic mapping of raw request parameters and JSON bodies into typed Go variables using reflection.
Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into native language objects. It functions as a JSON data binding library and a streaming parser that reads and writes data as discrete tokens to process large datasets with minimal memory. The project distinguishes itself through a bytecode serialization accelerator that replaces standard reflection with generated bytecode to increase data binding speed. It employs a module-based extensibility model to support a wide range of formats beyond JSON, including XML, YAML, CSV, TOML, and bin
Maps data fields to object properties using annotations to control naming, exclusion, and formatting rules.
Refit is a type-safe REST client for .NET that transforms API definitions into live interfaces. It functions as an automatic API proxy generator, allowing developers to define endpoints as interfaces to eliminate manual HTTP request boilerplate. The library is designed for compatibility with ahead-of-time compilation and trimmed binaries, utilizing build-time source generation to ensure support for native AoT deployments. The project covers a broad range of API integration capabilities, including attribute-driven request composition, automatic JSON deserialization, and request header managem
Uses reflection to automatically map method arguments to URL segments or request bodies.
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Generates Jackson annotations on Java types for automatic JSON serialization and deserialization.
Copier is a Go library that deep copies data between structs, maps, and slices using reflection-based field mapping and struct tag controls. At its core, it automatically transfers values by matching source and destination fields by name, type, and methods, creating fully independent copies of nested data structures to prevent shared references and unintended mutations. The library distinguishes itself through tag-driven copy rules that give developers fine-grained control over the copying process. Struct tags can enforce mandatory field copying, exclude specific fields from transfer, or map
Transfers data between Go types by matching fields, methods, and tags at runtime.
smartTable is a data grid component and table view framework for Android. It functions as an annotation-driven UI library that uses class and field markers to automatically map data models to visual columns and define table properties. The project distinguishes itself through deep spreadsheet integration, providing tools to import and export data to and from Excel files while preserving cell formatting, styles, colors, and alignment. It also features a canvas-based rendering system that supports complex grid layouts with merged cells, frozen headers, and column locking. The library covers a
Uses markers within code to define how data fields map to table columns.
This project is a Go programming language study guide and backend development course. It provides a collection of learning notes and practical examples covering fundamental syntax and core language concepts. The repository functions as a tutorial for building web APIs and network services. It includes implementation guides for the Gin web framework and code demonstrations for creating remote procedure call services using Protocol Buffers. The material covers backend API engineering, including routing, data binding, and error handling. It also includes examples of structured logging and custo
Automates the mapping of raw request payloads into strongly typed Go structs using reflection.
YYModel 是一个 JSON 模型映射库和双向数据映射器,旨在将原始 JSON 数据转换为结构化模型对象,反之亦然。它充当类型安全的 JSON 解析器,采用自动类型强制转换来防止因解析过程中数据类型不兼容而导致的应用程序崩溃。 该框架使用运行时内省根据命名规则和显式配置将 JSON 键映射到模型属性。它支持通过递归遍历数据层级来实例化嵌套模型对象,并为序列化和反序列化提供了一致的转换层。 其功能涵盖了用于将不匹配的键链接到属性的数据映射逻辑,以及使用 ISO8601 格式标准化日期对象的序列化工作流。该工具使用模式驱动的方法将原始字典转换为结构化对象,以确保网络传输或本地存储的类型安全。
Uses runtime introspection and reflection to instantiate nested models and map data based on predefined naming rules.
AndServer is a Java library for hosting a lightweight HTTP server and API endpoints directly within an Android application process. It functions as an annotation-based web framework that maps network requests to specific application methods to decouple business logic from network handling. The project distinguishes itself as a mobile network gateway capable of routing incoming traffic and proxying data on an Android device. It includes an embedded static file server for delivering HTML files and web assets from the device to other clients over HTTP. The framework provides a middleware engine
Automatically maps raw network request payloads to typed Java objects using runtime type inspection.