I am trying to create an extensive search url with this format ?filter[1][field]=brandId&filter[1][operand]=>&filter[1][values][]=firstvalue
but I cant seem to figure out a way to convert this (string) to an actual array (map/slice or anything i can loop on).
i have read a lot of documentation and searched on google but cannot find a good way to do this.