summaryrefslogtreecommitdiff
path: root/src/de/parse.rs
AgeCommit message (Collapse)Author
2025-03-04Merge remote-tracking branch 'sbihel/main'HEADpatchedmasterJesse Morgan
2025-03-04clippy::multiple_bound_locations (#103)Cyril Plisko
* clippy::multiple_bound_locations * A few more clippy fixes. --------- Co-authored-by: Sam Scott <sam@osohq.com>
2023-06-12Add support for enums in top levelSimon Bihel
Partially address #71
2023-01-07Address some clippy nits.Sam Scott
2022-07-13Add a standalone serializer.Sam Scott
2022-07-10Formatting.Sam Scott
2022-07-09feat: non-strict mode replaces invalid UTF-8 (#62)Jeremiah Senkpiel
This change makes non-strict mode percent-decode utf-8 lossily. This means that invalid UTF-8 percent encoded sequences, such as `%E9`, are decoded as the unicode replacement character (� `U+FFFD`). Refs: https://github.com/samscott89/serde_qs/issues/43
2022-03-05Add error message hint for strict mode.Sam Scott
2021-06-09Support deserializing sequences to a hashmap with keys. (#51)Sam Scott
2020-06-23Fix deserializing empty sequences (#31)Markus Ast
2020-06-03Revert to rustfmt defaults.Sam Scott
2020-06-03Support actix-web v2 (#30)Sam Scott
* update dependencies - actix-web v2 - percent encoding v2.1 - rust 2018 edition - remove rustfmt no longer supported rules * ci: add feature build matrix * fix actix unit tests Co-authored-by: Mario Reder <mreder1289@gmail.com>
2019-12-10Fix panic on malformed queryfermeise
resolves #23
2019-11-12Bump version.Sam Scott
Update dependencies.
2019-04-28Add comment to explain original byte reuseSam Scott
Co-Authored-By: agrinman <agrinman@users.noreply.github.com>
2019-02-15fix: replace pluses before percent decodingAlex Grinman
2019-01-23Run cargo fmt.Sam Scott
2019-01-21Minor fixes:Sam Scott
- Suppress deprecated warning from error-chain - Fix clippy issues - Update dependencies - Update example to csv 1.0
2018-01-03Tweak parsing logic of encoded brackets in non-strict mode.Sam Scott
When parsing a value, always just consume all the text, and ignore special encoded of brackets. (Hence non-strict mode only applies to keys)
2017-11-09Let rustfmt do its thing.Sam Scott
2017-11-09Implement `strict` option feature.Sam Scott
Permits encoded brackets, and will generally tolerate parsing errors where possible. Permitting, for example, `a%5B[0%5D=1` to decode as `a: vec![1]`. Default behaviour is strict.
2017-11-01Refactor and clean parsing code, improve error messages.Sam Scott
2017-10-31New parsing strategy.Sam Scott
- Only perform the percent decoding at the final step (fixes #10). - Reduce allocations by borrowing as much as possible.
2017-09-21fix parse_seq_value not decoding '+' to ' 'Jacob Brown
2017-05-28Create correct level type when parsing a nested ordered seq.Sam Scott
Fixes #7.
2017-05-23Add detection of indexed sequences.Sam Scott
Clean up the code in places.
2017-05-21Add stricter lints.Sam Scott
2017-05-21Docs, API and panics.Sam Scott
Improved documentation, simpified the API coverage, and replaced panics with errors in most cases.
2017-05-21Updates to documentation.Sam Scott
2017-05-20Organisational changes.Sam Scott