Utf8JsonReader.GetSingle Method

Definition

Reads the next JSON token value from the source and parses it to a Single.

public:
 float GetSingle();
public float GetSingle ();
member this.GetSingle : unit -> single
Public Function GetSingle () As Single

Returns

Single

The UTF-8 encoded token value parsed to a Single.

Exceptions

The JSON token value isn't a Number.

The JSON token value represents a number less than MinValue or greater than MaxValue.

Applies to

See also