Freigeben über


JsonNullSentinel Class

Definition

A sentinel value representing JSON null. This can only be used for OpenAPI properties of type JsonNode

public static class JsonNullSentinel
type JsonNullSentinel = class
Public Module JsonNullSentinel
Inheritance
JsonNullSentinel

Properties

Name Description
JsonNull

A sentinel value representing JSON null. This can only be used for OpenAPI properties of type JsonNode. This can only be used for the root level of a JSON structure. Any use outside of these constraints is unsupported and may lead to unexpected behavior. Because the value might be cloned, so the value can be added in a tree, reference equality checks will not work. You must use the IsJsonNullSentinel(JsonNode) method to check for this sentinel.

Methods

Name Description
IsJsonNullSentinel(JsonNode)

Determines if the given node is the JSON null sentinel.

Applies to