15 lines
469 B
C#
15 lines
469 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace View_by_Distance.Shared.Models;
|
|
|
|
public record LocationAmazon(
|
|
[property: JsonPropertyName("count")] int Count,
|
|
[property: JsonPropertyName("match")] string Match,
|
|
[property: JsonPropertyName("searchData")] SearchData SearchData
|
|
);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
[JsonSerializable(typeof(LocationAmazon))]
|
|
public partial class LocationAmazonGenerationContext : JsonSerializerContext
|
|
{
|
|
} |