corn-config / corn

🌽 A simple and pain-free configuration language. Reference libcorn implementation and CLI.
https://cornlang.dev
MIT License
40 stars 5 forks source link

TOML output support #1

Closed JakeStanger closed 2 years ago

JakeStanger commented 2 years ago

The #[serde(untagged)] attribute causes the TOML serializer to fail, but is required to produce valid JSON/YAML. TOML also does not support any kind of null value so serde fails to serialize None values. At the moment this means TOML is not supported.