Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect SearchFuzzyResult serialization attributes #51

Open
DarinMacRae opened this issue Sep 22, 2022 · 0 comments
Open

Incorrect SearchFuzzyResult serialization attributes #51

DarinMacRae opened this issue Sep 22, 2022 · 0 comments

Comments

@DarinMacRae
Copy link

The Addresses and Address property serialization attributes are not defined correctly (as expected) for STJ serialization.

  public class SearchFuzzyResult : SearchResult
  {
    [JsonPropertyName("adress")]
    public SearchResultAddress[] Addresses { get; set; }

    private new SearchResultAddress Address { get; set; }

    [JsonPropertyName("addressRanges")]
    public SearchResultAddressRanges AddressRanges { get; set; }

    [JsonPropertyName("dataSources")]
    public DataSources DataSources { get; set; }

    [JsonPropertyName("entityType")]
    public string EntityType { get; set; }

    [JsonPropertyName("info")]
    public string Info { get; set; }
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant