reading jagged array having no concrete element types does not serialize NULL #82478
Unanswered
ziaullah47
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are having a jagged array of non strict types, like the one below,
[
[ "value", "value", "value", "value", "value", "", null ]
]
while trying to get it deserialized with System.Text.Json.Serialization, the null value is skipped, and parsing all the elements we are unable to the get the NULL,
[
[ "value", "value", "value", "value", "value", ""]
]
Tried different serialization options around this as like Ignore NULL etc.
Beta Was this translation helpful? Give feedback.
All reactions