Comments in JSON payloads

Sometimes ChatGPT will add comments to JSON payloads to plugins. It will even notice it did this, say it will fix it, then do it again.

I know it’s been a hard day for ChatGPT (developers and operations), so I’ll cut it some slack. :joy:

3 Likes

I’ve been having a look at using this more relaxed parser - https://json5.org/

Should be a bit more forgiving but you’ll need to shoehorn it into whatever backend you are using which might be difficult.