I am getting some data that looks like below JSON from an API
{
body_html: \"Test
\",
id: \"cu1bpkz\",
link_id: \"d3_3kkgis\",
Use the JsonPropertyAttribute like so:
[JsonProperty("author_flair_text")]
public string AuthorFlairText { get; set; }
This ensures it'll take the right name, different from the property in code.
Edit: You can also use this tool for larger json files, it generates classes for your data: http://json2csharp.com/