Use JSON for resume file instead of XML.

This commit is contained in:
2022-12-15 03:08:18 +00:00
parent 73730c4e0f
commit 24c8aa3476

View File

@@ -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; }
}
/// <summary>Information that allows to resume a dump</summary>
[Serializable, XmlRoot("DicResume", Namespace = "", IsNullable = false)]
public class Resume