Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
skitter
on Sept 28, 2023
|
parent
|
context
|
favorite
| on:
That's a Lot of YAML
Hm, what JSON documents have a different meaning in YAML? I'd have hoped that with all names & strings being quoted and leading zeros being disallowed, that wouldn't be the case.
maple3142
on Sept 29, 2023
|
next
[–]
Maybe duplicate keys in JSON counts? Some JSON parsers choose the first and some choose the last, and YAML directly forbid that.
zamalek
on Sept 28, 2023
|
prev
|
next
[–]
I have never come across a case where JSON can't take the place of YAML, but I guess there could be edge cases.
marcosdumay
on Sept 28, 2023
|
prev
[–]
You can easily corrupt the meaning of your JSON by adding whitespace in YAML.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: