shapely-urlencoded
A serialization and deserialization library for URL encoded form data using the shapely runtime reflection system.
Features
- Simple URL encoded form data deserialization for any type implementing the
Shapely
trait - Support for query string parsing
- Detailed error reporting with context
- Support for nested structs and scalar values
Example
use Shapely;
use from_urlencoded;
let query_string = "query=rust+programming&page=2";
let mut partial = partial;
from_urlencoded.expect;
let params = partial.;
assert_eq!;
Funding
Thanks to Namespace for providing fast GitHub Actions workers:
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.