This commit is contained in:
Đăng Nguyễn
2025-09-15 17:39:02 +07:00
parent cf309cccba
commit 0d97684f70
69 changed files with 1363 additions and 412 deletions

View File

@@ -0,0 +1,18 @@
using System.Text.Json;
namespace RobotApp.Common.Shares;
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,
};
}