Reputation: 164
Microsoft.Text.Json
imposes some restrictions that are not configurable, see Documentation.
Because of this limitation I cannot share large data to BlazorWebView
as parameter to a function in JS using InvokeVoidAsync
.
So, I want to set Newtonsoft.Json
as default serializer for my MAUI app. How can this be achieved in Hybrid MAUI app?
I tried finding APIs similar to ASP.NET, like this, to configure default serializer, but could not find it.
Upvotes: 2
Views: 816