I have several JSon properties, I want to put a new line between them.
I read other posts, they are suggesting escape chars but it didn't work.
My txt file look like this:
{"flag":false,"flag2":false,"SET TRUE USED":false,"SET FALSE USED":false}
I want to list them like:
{
"flag":false,
"flag2":false,
"SET TRUE USED":false,
"SET FALSE USED":false
}
Model:
class Class1
{
[JsonProperty(PropertyName = "flag")]
public bool flag { get; set; }
[JsonProperty(PropertyName = "flag2")]
public bool flag2 { get; set; }
[JsonProperty(PropertyName = "SET TRUE USED")]
public bool M1 { get; set; }
[JsonProperty(PropertyName = "SET FALSE USED")]
public bool M2 { get; set; }
}