Re: [Pre-RFC] Opt-in JSON comments and trailing commas

From: Date: Tue, 18 Aug 2026 01:20:55 +0000
Subject: Re: [Pre-RFC] Opt-in JSON comments and trailing commas
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-132244@lists.php.net to get a copy of this message
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

« previous php.internals (#132244) next »