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
I would like to set my blazor webassembly json to read camelcase. However I dont know how.
Why?
System.text.json dont support reference handling. Newtonsoft does. So I am using at server side netwonsoft. There is only one issue. Newtonsoft serialize dictionary with key named "key" not "Key". System.text.json throws me error at client side because it cant find "Key"..
Any idea how to make system.text.json at webassembly part to read also "key" = "Key"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to set my blazor webassembly json to read camelcase. However I dont know how.
Why?
System.text.json dont support reference handling. Newtonsoft does. So I am using at server side netwonsoft. There is only one issue. Newtonsoft serialize dictionary with key named "key" not "Key". System.text.json throws me error at client side because it cant find "Key"..
Any idea how to make system.text.json at webassembly part to read also "key" = "Key"?
Beta Was this translation helpful? Give feedback.
All reactions