r/ProgrammerHumor • • 10d ago • Bravo 1

Meme commentsInJson

Post image
6.0k Upvotes

202 comments sorted by

View all comments

Show parent comment

1

u/them0use 9d ago

No problem, just make `comments` an array! I am dead inside.

1

u/Turbulent_Stick1445 8d ago

I have done exactly that :( Now I know YAML can be written like JSON though I'm probably going to just switch to that in future as YAML has almost as much support as JSON. I'd only been avoiding it because I thought the indenting-is-meaningful syntax was mandatory.