logoalt Hacker News

JSON5 – JSON for Humans

364 pointsby rickcarlino12/08/2024344 commentsview on HN

Comments

michaelcampbell12/11/2024

Looks very nice, but I feel it's one of those "yeah, it's better, but only useful for personal projects, or until it gets critical mass which won't be until after I'm dead, if at all" projects.

ultimoo12/09/2024

can this be used to convert llm output to json?

lolive12/09/2024

JSON6 will feature triple-quote string quoting. Either made out of “ or ‘. Wake me up when it happens. PS: quoting line returns for multiline sounds weird. But who am I to comment…

counterpartyrsk12/09/2024

KISS

Pxtl12/09/2024

It's infuriating that we're still struggling with this after so many years.

Every time I learn a new format I want to scream "why can't you be normal?"

show 2 replies
rk0612/09/2024

Now, it would be great if we have parsers, editor plugins and json schema supprot as well.

until then, jsonc works for me

lakomen12/09/2024

Oh he'll no not another standard no one needs. JSON is good enough

1123581321345512/09/2024

only needs trailing commas

6512/09/2024

Why not just use YAML at that point?

hoseja12/09/2024

Hey look another xkcd://927

morugam12/09/2024

[dead]

gus_leonel12/08/2024

[dead]

sonsonsonsons12/08/2024

[flagged]

mariocesar12/09/2024

Isn't this simply YAML but with curly braces?

Another thing is that It feels wrong to have comments in JSON, like allowing comments in CSV files.