RobotNet/RobotNet.MapShares/JsonOptionExtends.cs
2025-10-15 15:15:53 +07:00

19 lines
424 B
C#

using System.Text.Json;
namespace RobotNet.MapShares;
public class JsonOptionExtends
{
public static readonly JsonSerializerOptions Read = new()
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
WriteIndented = true,
};
public static readonly JsonSerializerOptions Write = new()
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
WriteIndented = true,
};
}