Utf8JsonReader.GetDecimal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 isn't a Number.
The JSON token value represents a number less than Decimal.MinValue or greater than Decimal.MaxValue.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.