Skip to content

System.Text.Json constructor deserialization without attribute #54332

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

Closed
NinoFloris opened this issue Jun 17, 2021 · 3 comments
Closed

System.Text.Json constructor deserialization without attribute #54332

NinoFloris opened this issue Jun 17, 2021 · 3 comments
Labels
api-needs-work API needs work before it is approved, it is NOT ready for implementation api-suggestion Early API idea and discussion, it is NOT ready for implementation area-System.Text.Json
Milestone

Comments

@NinoFloris
Copy link
Contributor

NinoFloris commented Jun 17, 2021

System.Text.Json constructor deserialization without an attribute.

I'm missing a mechanism to do so, something like a Func<Type, ConstructorInfo> on options comes to mind.

Also asked in: #38102 (comment)

@ghost ghost added area-System.Text.Json untriaged New issue has not been triaged by the area owner labels Jun 17, 2021
@ghost
Copy link

ghost commented Jun 17, 2021

Tagging subscribers to this area: @eiriktsarpalis, @layomia
See info in area-owners.md if you want to be subscribed.

Issue Details

System.Text.Json constructor deserialization without attribute.

I missing a mechanism to do so, something like a Func<Type, ConstructorInfo> on options comes to mind.

Also asked in: #38102 (comment)

Author: NinoFloris
Assignees: -
Labels:

area-System.Text.Json, untriaged

Milestone: -

@huoyaoyuan
Copy link
Member

This will ultimately be covered by JsonContract equivalent. See #31257

@eiriktsarpalis eiriktsarpalis added api-needs-work API needs work before it is approved, it is NOT ready for implementation api-suggestion Early API idea and discussion, it is NOT ready for implementation and removed untriaged New issue has not been triaged by the area owner labels Jul 16, 2021
@eiriktsarpalis eiriktsarpalis added this to the 7.0.0 milestone Jul 16, 2021
@eiriktsarpalis
Copy link
Member

Closing this in favor of #36785.

@ghost ghost locked as resolved and limited conversation to collaborators Nov 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-needs-work API needs work before it is approved, it is NOT ready for implementation api-suggestion Early API idea and discussion, it is NOT ready for implementation area-System.Text.Json
Projects
None yet
Development

No branches or pull requests

3 participants