You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when use .net core default json option like: services.AddControllers().AddJsonOptions(opts => { opts.JsonSerializerOptions.IgnoreNullValues = true; });
get null value in controller parametters in webhook mode
but when change this code to .AddNewtonsoftJson() everything is OK
can i set any option to default json feature to resolve this proplem?
The text was updated successfully, but these errors were encountered:
@salmasi I am not sure what you mean. Our library hardly relies on Newtonsoft Json features for serialization/deserialization request and response objects (including Update in Webhook controller). ASP.NET Core on the other hand by default uses System.Text.Json for these purposes.
We are investigating ways to implement STJ support in our library but for now there is no way to use it.
when use .net core default json option like:
services.AddControllers().AddJsonOptions(opts => { opts.JsonSerializerOptions.IgnoreNullValues = true; });
get null value in controller parametters in webhook mode
but when change this code to .AddNewtonsoftJson() everything is OK
can i set any option to default json feature to resolve this proplem?
The text was updated successfully, but these errors were encountered: