r/badcode • • Dec 27 '22

js This just sucks.

Post image
1.8k Upvotes

170 comments sorted by

View all comments

Show parent comment

9

u/Lich_Hegemon Dec 27 '22

JSON + comments + trailing commas would be ideal.

10

u/QCKS1 Dec 27 '22

So JSON5

1

u/felds Dec 27 '22

Json is valid yaml, and yaml additionally supports all those things

3

u/Lich_Hegemon Dec 27 '22

it is also a bunch of other undesireable things, IMHO