Utf8JsonWriter.WriteNullValue Method

Definition

Writes the JSON literal null as an element of a JSON array.

public:
 void WriteNullValue();
public void WriteNullValue ();
member this.WriteNullValue : unit -> unit
Public Sub WriteNullValue ()

Exceptions

Validation is enabled, and the operation would result in writing invalid JSON.

Applies to