We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c567863 commit 78b0b74Copy full SHA for 78b0b74
2 files changed
AspNetCoreServiceBusApi2/payloads.sqlite
0 Bytes
FunctionService3/SubscriptionClientFunction.cs
@@ -1,6 +1,5 @@
1
using Microsoft.Azure.WebJobs;
2
using Microsoft.Extensions.Logging;
3
-using Newtonsoft.Json;
4
5
namespace FunctionService3;
6
@@ -14,6 +13,6 @@ public static void Run([ServiceBusTrigger(
14
13
{
15
log.LogInformation($"C# ServiceBus topic trigger function processed message: {message}");
16
17
- var payload = JsonConvert.DeserializeObject<MyPayload>(message);
+ var payload = System.Text.Json.JsonSerializer.Deserialize<MyPayload>(message);
18
}
19
0 commit comments