Skip to content

How can you keep the square brackets when using arrayFormat: comma #481

@samgermain

Description

@samgermain

With the following code

qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'comma' })
// 'a=b,c'

plus some option, I want to obtain a result that looks like

// 'a=[b,c]'

How can I do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions