Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​Text.​Json.​Serialization.​JsonUnknownTypeHandling

Assembly: System.Text.Json

Defines how deserializing a type declared as an <see cref="T:System.Object" /> is handled during deserialization.

Values

JsonElement
A type declared as <see cref="T:System.Object" /> is deserialized as a <see cref="F:System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonElement" /> .
JsonNode
A type declared as <see cref="T:System.Object" /> is deserialized as a <see cref="F:System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonNode" /> .