From 15137be4a0b02a40bea178127472554d8a7bba3a Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Tue, 23 May 2017 09:39:08 +0100 Subject: Add note in docs about using integer keys. --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index dff822e..b7eee87 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,6 +22,10 @@ //! However, after the top level you should find all supported types can be //! de/serialized. //! +//! Note that integer keys are reserved for array indices. That is, a string of +//! the form `a[0]=1&a[1]=3` will deserialize to the ordered sequence `a = +//! [1,3]`. +//! //! ## Usage //! //! See the examples folder for a more detailed introduction. -- cgit v1.2.3