แก้ไข

แชร์ผ่าน


JsonObjectCreationHandling Enum

Definition

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

public enum class JsonObjectCreationHandling
public enum JsonObjectCreationHandling
type JsonObjectCreationHandling = 
Public Enum JsonObjectCreationHandling
Inheritance
JsonObjectCreationHandling

Fields

Name Value Description
Replace 0

A new instance will always be created when deserializing a field or property.

Populate 1

Attempt to populate any instances already found on a deserialized field or property.

Applies to