From 24c8aa34768e97c4a59274d16b6f5f5d2c9ff982 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Thu, 15 Dec 2022 03:08:18 +0000 Subject: [PATCH] Use JSON for resume file instead of XML. --- Metadata/Resume.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Metadata/Resume.cs b/Metadata/Resume.cs index 89516b62f..8dcdcf745 100644 --- a/Metadata/Resume.cs +++ b/Metadata/Resume.cs @@ -38,11 +38,18 @@ using System; using System.Collections.Generic; +using System.Text.Json.Serialization; using System.Xml.Serialization; using Schemas; namespace Aaru.CommonTypes.Metadata; +public class ResumeJson +{ + [JsonPropertyName("AaruResume")] + public Resume Resume { get; init; } +} + /// Information that allows to resume a dump [Serializable, XmlRoot("DicResume", Namespace = "", IsNullable = false)] public class Resume