/// <summary> /// Get seed data from fire resource /// </summary> private IrpfTax[] GetSeedData() { string content; using (var stream = new StreamReader(AppResources.GetSeedData("irpf.json"))) { content = stream.ReadToEnd(); } IrpfTax[] docs = JsonSerializer.Deserialize <IrpfTax[]>(content, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true }); return(docs); }