19 lines
424 B
C#
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,
|
|
};
|
|
}
|