Default base::JSONReader::Read() to RFC mode?

30 views
Skip to first unread message

Daniel Cheng

unread,
Sep 3, 2025, 4:58:32 PMSep 3
to cxx
Hi all,

Currently, base::JSONReader() and friends default to parsing with Chromium quirks.

How would people feel if we either:
- flipped the default to base::JSON_PARSE_RFC (and preserving behavior of all existing callers) or
- forcing it to always be explicit?

Daniel

Elly

unread,
Sep 9, 2025, 2:12:36 PM (10 days ago) Sep 9
to cxx, Daniel Cheng
Hi Daniel,

I would be happy with flipping the default to JSON_PARSE_RFC and migrating all existing callers. The Chromium quirks were in general a mistake and new uses of them are not a good idea.

-- elly

Reply all
Reply to author
Forward
0 new messages