▲ 625 ▼ TOML (europe.pub) submitted 8 months ago by skepller@lemmy.world to c/programmer_humor@programming.dev 159 comments fedilink hide all child comments
[–] PieMePlenty@lemmy.world 12 points 8 months ago (3 children) No way. You're telling me I can just write json instead? permalink fedilink source parent hideshow 3 child comments replies: [–] Jayjader@jlai.lu 14 points 8 months ago* (2 children) Yup! YAML is defined as a "strict superset" of JSON (or at least, it was the last time I checked). It's a lot like markdown and HTML; when you want to write something deeply structured and somewhat complex you can always drop back/down to the format with explicit closing delimiters and it just works™. permalink fedilink source parent hideshow 2 child comments replies: [–] theterrasque@infosec.pub 8 points 8 months ago (1 child) I found out the hard way this is not entirely correct, as a user found a valid json that yaml parsers didn't handle. IIRC it was some exotic whitespace issue permalink fedilink source parent hideshow 1 child comment replies: [–] floquant@lemmy.dbzer0.com 7 points 8 months ago Yes, in true YAML fashion, there are some edge cases where things act weird but are technically correct. permalink fedilink source parent
[–] Jayjader@jlai.lu 14 points 8 months ago* (2 children) Yup! YAML is defined as a "strict superset" of JSON (or at least, it was the last time I checked). It's a lot like markdown and HTML; when you want to write something deeply structured and somewhat complex you can always drop back/down to the format with explicit closing delimiters and it just works™. permalink fedilink source parent hideshow 2 child comments replies: [–] theterrasque@infosec.pub 8 points 8 months ago (1 child) I found out the hard way this is not entirely correct, as a user found a valid json that yaml parsers didn't handle. IIRC it was some exotic whitespace issue permalink fedilink source parent hideshow 1 child comment replies: [–] floquant@lemmy.dbzer0.com 7 points 8 months ago Yes, in true YAML fashion, there are some edge cases where things act weird but are technically correct. permalink fedilink source parent
[–] theterrasque@infosec.pub 8 points 8 months ago (1 child) I found out the hard way this is not entirely correct, as a user found a valid json that yaml parsers didn't handle. IIRC it was some exotic whitespace issue permalink fedilink source parent hideshow 1 child comment replies: [–] floquant@lemmy.dbzer0.com 7 points 8 months ago Yes, in true YAML fashion, there are some edge cases where things act weird but are technically correct. permalink fedilink source parent
[–] floquant@lemmy.dbzer0.com 7 points 8 months ago Yes, in true YAML fashion, there are some edge cases where things act weird but are technically correct. permalink fedilink source parent