1 个仓库
Filtering and ordering of keys during the transformation of an object to a string.
Distinct from Predicate-Based Filtering: Applies filtering during the serialization loop specifically for string generation, not general collection filtering
Explore 1 awesome GitHub repository matching data & databases · Serialization Key Filtering. Refine with filters or upvote what's useful.
qs 是一个查询字符串解析和序列化库,用于将 URL 查询字符串转换为 JavaScript 对象,并将对象或数组转换回 URI 编码的字符串。它作为一个安全的解析器和 URI 编码实用程序,专门设计用于处理嵌套数据结构。 该库通过可配置的嵌套样式和数组序列化格式脱颖而出。它支持自定义字符编码逻辑,并利用字符集哨兵来管理 UTF-8 和 ISO-8859-1 之间的转换。 为了防止资源耗尽和安全漏洞,该项目实现了参数计数限制和严格的解析深度限制。它还包括空值处理、基于谓词的键过滤以及可插拔的编码函数,以管理数据的序列化方式。
Excludes specific keys or reorders the final string by applying custom boolean functions during serialization.