Skip to main content

Module query_parser

Module query_parser 

Source
Expand description

Fast query string parser

Vendored and adapted from https://github.com/litestar-org/fast-query-parsers Original author: Naaman Hirschfeld (same author as Spikard)

This parser handles multiple values for the same key and auto-converts types.

Functionsยง

parse_query_pairs_to_json
Convert already-decoded query pairs into a JSON Value.
parse_query_string
Parse a query string into a vector of (key, value) tuples.
parse_query_string_to_json
Parse a query string into a JSON Value.