3 个仓库
Converts nested arrays into repeated query parameters for URL compatibility.
Distinct from Array-to-Map Converters: None of the candidates cover the specific case of serializing arrays into repeated URL query parameters.
Explore 3 awesome GitHub repositories matching web development · Array Parameter Serialization. Refine with filters or upvote what's useful.
qs 是一个查询字符串解析和序列化库,用于将 URL 查询字符串转换为 JavaScript 对象,并将对象或数组转换回 URI 编码的字符串。它作为一个安全的解析器和 URI 编码实用程序,专门设计用于处理嵌套数据结构。 该库通过可配置的嵌套样式和数组序列化格式脱颖而出。它支持自定义字符编码逻辑,并利用字符集哨兵来管理 UTF-8 和 ISO-8859-1 之间的转换。 为了防止资源耗尽和安全漏洞,该项目实现了参数计数限制和严格的解析深度限制。它还包括空值处理、基于谓词的键过滤以及可插拔的编码函数,以管理数据的序列化方式。
Implements multiple formats for serializing arrays into URL query parameters, including indices and brackets.
This is a suite of JavaScript utilities for the bidirectional conversion and manipulation of URL components and query parameters. It provides a mechanism for parsing URL query strings into data objects and serializing those objects back into URL-encoded strings. The library includes functions for filtering, isolating, and modifying parameters within a full URL or query string. It supports the construction of complete web links by combining base addresses with formatted query parameters. The toolset covers data transformation primitives such as alphabetical key sorting, input sanitization, an
Converts nested arrays into repeated query parameters to maintain compatibility with server-side expectations.
Connexion 是一个规范驱动的框架,用于构建自动将 OpenAPI 规范映射到应用逻辑的 API。它使用这些规范来自动化路由、请求验证和响应序列化,并通过操作 ID 将 API 操作链接到后端处理函数。 该项目通过提供一个模式驱动的 Mock 服务器来区分开来,该服务器使用规范中的示例响应来模拟 API 行为,而无需后端逻辑。它还包括一个动态文档托管系统,将 API 规范转换为实时交互式控制台,用于探索和测试端点。 该框架涵盖了广泛的功能领域,包括通过基于中间件的身份验证和作用域验证实施安全性、可插拔的请求和响应验证逻辑,以及向类型化函数参数自动注入参数。它还提供了用于应用生命周期管理、自定义中间件集成和请求模拟测试的实用工具。 该项目可用于引导独立 Web 应用,或包装在现有框架周围以添加规范驱动的功能。
Parses complex array and object parameters from URIs into Python lists and dictionaries based on the specification.