PreferredObjectCreationHandling Property

Definition

Namespace SharpYaml
Assembly SharpYaml.dll

Gets or sets the preferred object creation handling for properties and fields during deserialization.

public JsonObjectCreationHandling PreferredObjectCreationHandling { get; init; }

Returns

Remarks

This mirrors from System.Text.Json. Member-level overrides this setting, while a type-level applies it as the default for members on that type. The default behavior is .