I'm trying to deserialize a YAML file from a source that I don't control where some of the files have numerical keys.
Example:
0:
name: Category1
published: true
1:
name: Category2
published: false
For my purposes, the numerical key is important to store since that's how other datasets will refer to the data.
Example:
3573:
name: Item1
category: 0
89475:
name: Item2
category: 1
Is there any way to access the key from YAMLDotNet's Deserializer to feed the class?