Skip to content

Commit

Permalink
docs: fix arrayLimit behavior on throwOnLimitExceeded
Browse files Browse the repository at this point in the history
  • Loading branch information
IamLizu committed Nov 17, 2024
1 parent af3a625 commit 9298f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit 9298f8f

Please sign in to comment.