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

Generate STJ JsonIgnoreAttributes for model properties #1513

Merged
merged 2 commits into from May 8, 2022

Conversation

jcracknell
Copy link
Contributor

You can't quite achieve the same behavior as Newtonsoft, as System.Text.Json doesn't deal in validation and JsonIgnoreAttribute only applies to the serialization process.

@RicoSuter
Copy link
Owner

Serialization is more important than deserialization anyway. Would be nice to have both directions.
Thanks for the PR.

@RicoSuter RicoSuter merged commit fca4d1f into RicoSuter:master May 8, 2022
RicoSuter pushed a commit that referenced this pull request Dec 8, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants