12 lines
345 B
C#
12 lines
345 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Band.Models.Bands;
|
|
|
|
public record ResultData(
|
|
[property: JsonPropertyName("bands")] IReadOnlyList<Band> Bands
|
|
);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
[JsonSerializable(typeof(ResultData))]
|
|
public partial class BandsResultDataSourceGenerationContext : JsonSerializerContext {
|
|
} |