Re: [whatwg/url] URL.toJSON() returns a string, not an object — misleading name, consider toJSONObject (Issue #888)

AndrewEQ left a comment (whatwg/url#888)

It's really just the naming, ideally, I would have loved it to be named something like: "forJSON", "forJSONStringify" or "toJSONSerialization" and "toJSON" reserved for JSON output of an objects properties.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/888#issuecomment-3467330988
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/888/3467330988@github.com>

Received on Thursday, 30 October 2025 10:52:06 UTC