MtoJSON
Bun

method

URLSearchParams.toJSON

toJSON(): Record<string, string>;