Edit

Share via


Utf8JsonReader.GetDouble Method

Definition

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

public:
 double GetDouble();
public double GetDouble ();
member this.GetDouble : unit -> double
Public Function GetDouble () As Double

Returns

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

Exceptions

The JSON token value isn't a Number.

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

Applies to

See also