Skip to content

Commit

Permalink
fix: don't show NUTS3 code when null
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Oct 10, 2023
1 parent 45069d4 commit 80d111f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public class PostalInformationOsloResponse
/// <summary>
/// De NUTS3 classificatie gebruikt door Eurostat.
/// </summary>
[DataMember(Name = "Nuts3", Order = 5)]
[JsonProperty(Required = Required.Default)]
[DataMember(Name = "Nuts3", Order = 5, EmitDefaultValue = false)]
[JsonProperty(Required = Required.Default, DefaultValueHandling = DefaultValueHandling.Ignore)]
public string? Nuts3Code { get; set; }

public PostalInformationOsloResponse(
Expand Down

0 comments on commit 80d111f

Please sign in to comment.