mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
Add VirtualConsole.CreateBuffered() for easier testing
This commit is contained in:
10
CliFx.Tests/Internal/JsonExtensions.cs
Normal file
10
CliFx.Tests/Internal/JsonExtensions.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace CliFx.Tests.Internal
|
||||
{
|
||||
internal static class JsonExtensions
|
||||
{
|
||||
public static T DeserializeJson<T>(this string json) =>
|
||||
JsonConvert.DeserializeObject<T>(json);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user