Utf8JsonReader.GetDecimal Utf8JsonReader.GetDecimal Utf8JsonReader.GetDecimal Utf8JsonReader.GetDecimal Method

Definition

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

public:
 System::Decimal GetDecimal();
public decimal GetDecimal ();
member this.GetDecimal : unit -> decimal
Public Function GetDecimal () As Decimal

Returns

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

Exceptions

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

Remarks

The GetDecimal method throws an exception if the entire UTF-8 encoded token value cannnot be parsed to a Decimal value.

Applies to

See also