From b1cf3bf0a0b153583b2666afd6175e435e5c0e54 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Sun, 16 Nov 2025 20:37:41 +0330 Subject: [PATCH] Add support for CamelCase Json Serialization ... --- Base/XBaseEntityHub.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Base/XBaseEntityHub.cs b/Base/XBaseEntityHub.cs index 52c3324..8376429 100644 --- a/Base/XBaseEntityHub.cs +++ b/Base/XBaseEntityHub.cs @@ -35,7 +35,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.Add.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -57,7 +57,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.AddOrUpdate.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -79,7 +79,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.AddOrUpdate.GetStringValue(), - entities.ToJSON(), + entities.ToJSON(camelCase: true), connectionId ); } @@ -101,7 +101,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.Delete.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -123,7 +123,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.DeleteMany.GetStringValue(), - entities.ToJSON(), + entities.ToJSON(camelCase: true), connectionId ); } @@ -145,7 +145,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.Update.GetStringValue(), - entity.ToJSON(), + entity.ToJSON(camelCase: true), connectionId ); } @@ -167,7 +167,7 @@ namespace xPushService.Base .AllExcept(connectionId) .SendAsync( XBaseEntityHubAction.UpdateMany.GetStringValue(), - entities.ToJSON(), + entities.ToJSON(camelCase: true), connectionId ); }