From 3f6d467834bd862de07d1844b5847331cd160f59 Mon Sep 17 00:00:00 2001
From: Everett Pompeii There is no explicit tag identifying which variant the data contains. Serde will
try to match the data against each variant in order and the first one that
deserializes successfully is the one returned.
This representation can handle enums containing any type of variant.
+This representation can handle enums containing any type of variant. However, all unit variants will always serialize as `null`.
As another example of an untagged enum, this enum can be deserialized from either an integer or an array of two strings:
#[derive(Serialize, Deserialize)]