14 lines
492 B
C#
14 lines
492 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace OI.Metrology.Shared.Models;
|
|
|
|
public record Surfscan(
|
|
[property: JsonPropertyName("surfscanSigReq")] bool SurfscanSigReq,
|
|
[property: JsonPropertyName("surfscanRecipes")] SurfscanRecipe[] SurfscanRecipes
|
|
);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
|
[JsonSerializable(typeof(Surfscan))]
|
|
public partial class SurfscanSourceGenerationContext : JsonSerializerContext
|
|
{
|
|
} |