Quantcast
Channel: Michaël’s coding thoughts
Viewing all articles
Browse latest Browse all 131

Using URI’s in YAML with YamlDotNet

$
0
0
Recently, I was using a YAML file for storing some data for a pet project. To work with this YAML in a .NET application, I use the excellent YamlDotNet library by Antoine Aubry.
One of my properties was a URL. Deserializing went fine, but when serializing back to a YAML file, things were not going as intended.
In this short article, I will explain how I did fix this.

Viewing all articles
Browse latest Browse all 131

Trending Articles