using Newtonsoft.Json; namespace RustTools.Helpers; public static class Json { public static async Task ToObjectAsync(string value) { return await Task.Run(() => { return JsonConvert.DeserializeObject(value); }); } public static async Task StringifyAsync(object value) { return await Task.Run(() => { return JsonConvert.SerializeObject(value); }); } }