mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
More JSON decoration
This commit is contained in:
@@ -16,12 +16,14 @@ using SabreTools.Library.Reports;
|
||||
using SabreTools.Library.Skippers;
|
||||
using SabreTools.Library.Tools;
|
||||
using NaturalSort;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SabreTools.Library.DatFiles
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a format-agnostic DAT
|
||||
/// </summary>
|
||||
[JsonObject("datfile")]
|
||||
public abstract class DatFile
|
||||
{
|
||||
#region Fields
|
||||
@@ -29,11 +31,13 @@ namespace SabreTools.Library.DatFiles
|
||||
/// <summary>
|
||||
/// Header values
|
||||
/// </summary>
|
||||
[JsonProperty("header")]
|
||||
public DatHeader Header { get; set; } = new DatHeader();
|
||||
|
||||
/// <summary>
|
||||
/// DatItems and related statistics
|
||||
/// </summary>
|
||||
[JsonProperty("items")]
|
||||
public ItemDictionary Items { get; set; } = new ItemDictionary();
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user