Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST - JsonConverter needs Contract information that is found in the JsonSerializerInternalWriter #2696

Open
scptre opened this issue Jun 20, 2022 · 1 comment

Comments

@scptre
Copy link

scptre commented Jun 20, 2022

When you create a JsonConveter for a complex type you loose the ability the emulate the TypeNameHandling.Auto logic because you cannot get the Type information for the containerCollection and containerProperty.

It would be good to have an override method for WriteJson that also included the JsonContract containerCollection and the JsonProperty containerProperty.

@scptre
Copy link
Author

scptre commented Jun 20, 2022

Attached Pull Request #2697

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant