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.​JsonObjectCreationHandling

Assembly: System.Text.Json

Determines how deserialization will handle object creation for fields or properties.

Values

Replace
A new instance will always be created when deserializing a field or property.
Populate
Attempt to populate any instances already found on a deserialized field or property.