fast-json-stable-stringify icon indicating copy to clipboard operation
fast-json-stable-stringify copied to clipboard

Optionally ignore array order

Open drodil opened this issue 5 months ago • 0 comments

The proposal is to add an options optional object as the second function parameter. One of the options needed is the ignoreArrayOrder boolean, which would sort any array before or after stringifying it. This is useful when you have arrays that have the same content but might be in a different order, and you don't want to care about that in the return value.

drodil avatar Aug 18 '25 07:08 drodil