JsonPropertyName
This commit is contained in:
@ -17,8 +17,8 @@ public class Relation
|
||||
Attributes = attributes;
|
||||
}
|
||||
|
||||
public string Rel { get; set; } // { init; get; }
|
||||
public string URL { get; set; } // { init; get; }
|
||||
public Attribute Attributes { get; set; } // { init; get; }
|
||||
[JsonPropertyName("attributes")] public Attribute Attributes { get; set; }
|
||||
[JsonPropertyName("rel")] public string Rel { get; set; }
|
||||
[JsonPropertyName("url")] public string URL { get; set; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user