Comment by cluckindan 7 months ago YAML is a superset of JSON, so go right ahead and write your .yml files in JSON. 6 comments cluckindan Reply baobun 7 months ago YAML is actually not a superset of JSON.https://news.ycombinator.com/item?id=30052633 cluckindan 7 months ago The NO case is not valid JSON.So that leaves scientific notation. baobun 7 months ago The point is that "going right ahead and write your .yml files in JSON" is not valid. You'd have to restrict yourself to a subset of JSON to not get different semantics. 2 replies → galangalalgol 7 months ago Sometimes what makes something great is what it lacks. An automatic transmission, operator overloading, schema extensions, batteries etc.
baobun 7 months ago YAML is actually not a superset of JSON.https://news.ycombinator.com/item?id=30052633 cluckindan 7 months ago The NO case is not valid JSON.So that leaves scientific notation. baobun 7 months ago The point is that "going right ahead and write your .yml files in JSON" is not valid. You'd have to restrict yourself to a subset of JSON to not get different semantics. 2 replies →
cluckindan 7 months ago The NO case is not valid JSON.So that leaves scientific notation. baobun 7 months ago The point is that "going right ahead and write your .yml files in JSON" is not valid. You'd have to restrict yourself to a subset of JSON to not get different semantics. 2 replies →
baobun 7 months ago The point is that "going right ahead and write your .yml files in JSON" is not valid. You'd have to restrict yourself to a subset of JSON to not get different semantics. 2 replies →
galangalalgol 7 months ago Sometimes what makes something great is what it lacks. An automatic transmission, operator overloading, schema extensions, batteries etc.
YAML is actually not a superset of JSON.
https://news.ycombinator.com/item?id=30052633
The NO case is not valid JSON.
So that leaves scientific notation.
The point is that "going right ahead and write your .yml files in JSON" is not valid. You'd have to restrict yourself to a subset of JSON to not get different semantics.
2 replies →
Sometimes what makes something great is what it lacks. An automatic transmission, operator overloading, schema extensions, batteries etc.