Re: [PHP-DEV] [Pre-RFC] Opt-in JSON comments and trailing commas
[email protected] (Anton Smirnov)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
On 17/08/2026 21:54, Larry Garfield wrote: > Does this essentially mean JSON5 support? If so, just call it that. (I am undecided on the best way to support that.) > > --Larry Garfield That is a language known as Microsoft's JSONC or Nigel Tao's JWCC (JSON with Comments and Commas) they are effectively equivalent. JSON5 would also require single quotes, unquoted keys, NAN and +/-INF values, multiline strings, and some other minor stuff I don't even remember -- Anton