Skip to content

Commit 9298f8f

Browse files
committed
docs: fix arrayLimit behavior on throwOnLimitExceeded
1 parent af3a625 commit 9298f8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ try {
308308
}
309309
```
310310

311-
When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `arrayLimit` and ignore the rest without throwing an error.
311+
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
312312

313313
To disable array parsing entirely, set `parseArrays` to `false`.
314314

0 commit comments

Comments
 (0)