3 ms·
> The (upcoming) TOML 1.1 Out of curiosity, how does the deserializer know which "standard" to use? AIUI one can pin a version of YAML via its directive: %YA
by mdaniel 3y ago
> The (upcoming) TOML 1.1
Out of curiosity, how does the deserializer know which "standard" to use?
AIUI one can pin a version of YAML via its directive: %YAML <https://yaml.org/spec/1.2.2/#681-yaml-directives https://yaml.org/spec/1.2.2/#681-yaml-directives> with a missing one implying 1.2 although (heh) the 1.1 version says that documents which are missing their yaml directive are implied to be 1.1 <https://yaml.org/spec/1.1/#YAML%20directive/ https://yaml.org/spec/1.1/#YAML%20directive/> so ... versioning, it's hard!
- arp242 3y agoThere is nothing for this, which is probably fine. Previous thread on this: https://news.ycombinator.com/item?id=36023321 https://news.ycombinator.com/item?id=36023321