Skip to content

Incorrect SearchFuzzyResult serialization attributes #51

Description

@DarinMacRae

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; }
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions