[GH-ISSUE #1] TOML output support #2

Closed
opened 2026-05-22 22:05:06 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @JakeStanger on GitHub (Jan 27, 2022).
Original GitHub issue: https://github.com/corn-config/corn/issues/1

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.

Originally created by @JakeStanger on GitHub (Jan 27, 2022). Original GitHub issue: https://github.com/corn-config/corn/issues/1 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
corn-config/corn#2
No description provided.