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
{{ message }}
Repository navigation
JsonConstructors does not work with System.Text.Json #10
When converting the features to System.Text.Json support, the JsonConstructors seem to fail, and no easy fix where found.
To make the serialization work, it was required to add a default empty constructor, which meant that object construction could be done in a way which is unintended.
For now this is the only solution, but finding a way to make the JsonConstructors work again would definitely be preferred.
Activity
matt-lethargic commentedon Apr 28, 2023
Could changing the accessibility of the constructor work? Does it need to be
public?