using Adaptation.FileHandlers.ConvertExcelToJson; using System; using System.Text.Json; namespace Adaptation.FileHandlers.json; public class Helper { #nullable enable internal static FIBacklogMesa[] GetFIBacklogMesaRecords(string json) { FIBacklogMesa[]? results; results = JsonSerializer.Deserialize(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true }); if (results is null) throw new NullReferenceException(); return results; } }