From 9298f8f973a4eeb3920aec9efa4b90db81776186 Mon Sep 17 00:00:00 2001 From: S M Mahmudul Hasan Date: Sun, 17 Nov 2024 16:21:46 +0600 Subject: [PATCH] docs: fix `arrayLimit` behavior on `throwOnLimitExceeded` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45c9af42..c56f517d 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,7 @@ try { } ``` -When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `arrayLimit` and ignore the rest without throwing an error. +When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `arrayLimit` and if the limit is exceeded, the array will instead be converted to an object with the index as the key To disable array parsing entirely, set `parseArrays` to `false`.