We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a class structure like this:
public class A { // some stuff.... public class B { // some more stuff... } }
If I have a json string I should, I think, be able to do this:
A.B ab = JsonSerializer.Deserialize<A.B>(someJsonString);
The ab variable is not populated. If I move B outside of A. It works. Why is this?
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @jozkee Notify danmosemsft if you want to be subscribed.
Sorry, something went wrong.
It seems like you want an API to deserialize into an existing object. Can you see if #29538 expresses your ask? Please feel free to re-open if not.
Please re-open. Issue #29538 has nothing to do with what i am talking about. I do not know how to re-open.
My mistake. I see you opened #35957. Thanks.
No branches or pull requests
I have a class structure like this:
public class A {
// some stuff....
public class B {
// some more stuff...
}
}
If I have a json string I should, I think, be able to do this:
A.B ab = JsonSerializer.Deserialize<A.B>(someJsonString);
The ab variable is not populated. If I move B outside of A. It works. Why is this?
The text was updated successfully, but these errors were encountered: