Make dat items serializable

This commit is contained in:
Matt Nadareski
2020-06-15 21:00:09 -07:00
parent 6e12fa13eb
commit e95b5d3268
7 changed files with 90 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using SabreTools.Library.Data;
using Newtonsoft.Json;
namespace SabreTools.Library.DatItems
{
@@ -12,11 +13,13 @@ namespace SabreTools.Library.DatItems
/// <summary>
/// Description of the BIOS
/// </summary>
[JsonProperty("description")]
public string Description { get; set; }
/// <summary>
/// Determine whether the BIOS is default
/// </summary>
[JsonProperty("default")]
public bool? Default { get; set; }
#endregion