Hacker News new | ask | show | jobs
by mcv 1901 days ago
Isn't that a problem with most of these config languages, though? XML is the only one where I think this might be possible.
1 comments

Allowing you to define types is quite uncommon, but many config languages allow more types than JSON (so more than boolean, number, string, list, dict). Date datatypes are a big one and are provided by about every second JSON variant, in addition to TOML, ION and others.