scalar/Scalar.Common/VersionResponse.cs

15 строки
313 B
C#

using Newtonsoft.Json;
namespace Scalar.Common
{
public class VersionResponse
{
public string Version { get; set; }
public static VersionResponse FromJsonString(string jsonString)
{
return JsonConvert.DeserializeObject<VersionResponse>(jsonString);
}
}
}