1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-24 07:05:37 +01:00
GiantsTools/Giants.Services/Utility/ObjectExtensions.cs

13 lines
243 B
C#
Raw Normal View History

2022-09-05 22:42:41 +02:00
using System.Text.Json;
namespace Giants.Services
{
public static class ObjectExtensions
{
public static string SerializeToJson(this object obj)
{
return JsonSerializer.Serialize(obj);
}
}
}