#450·qs

arrayLimit not working on 2 dimensional arrays

Author: geobotsar81Created Aug 18, 2022Updated Feb 11, 2026
Labelsquestionneeds user followup

Trying to apply arrayLimit in order to bypass the default 20 items limit.

This seems to be working in case of a one-dimensional array as below:

const rawQueryString = decodeURI(window.location.search.substring(1)); console.log(rawQueryString) const queryObject = qs.parse(rawQueryString, { arrayLimit: 100 }); console.log(queryObject)

url_parse_working_2

But it does not work if this is a 2-dimensional array:

url_parse_not_working