Table of Contents

Enum MissingPathBehavior

Namespace
Nerdbank.Json
Assembly
Nerdbank.Json.dll

Controls what happens when a targeted deserialization path selects a value that is not present in the document.

public enum MissingPathBehavior

Fields

ReturnDefault = 1

The default value of the target type is returned when the path cannot be resolved.

Throw = 0

A JsonPathNotFoundException is thrown when the path cannot be resolved.