BililiveRecorder/BililiveRecorder.Core/Config/ConfigWrapper.cs

21 lines
477 B
C#
Raw Normal View History

2018-11-01 23:40:50 +08:00
using Newtonsoft.Json;
namespace BililiveRecorder.Core.Config
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
internal class ConfigWrapper
{
/// <summary>
/// Config Version
/// </summary>
[JsonProperty("version")]
public int Version { get; set; }
/// <summary>
/// Config Data String
/// </summary>
[JsonProperty("data")]
public string Data { get; set; }
}
}