Utf8JsonReader.GetInt64 Utf8JsonReader.GetInt64 Utf8JsonReader.GetInt64 Utf8JsonReader.GetInt64 Method

Definition

Reads the next JSON token value from the source and parses it to an Int64.

public:
 long GetInt64();
public long GetInt64 ();
member this.GetInt64 : unit -> int64
Public Function GetInt64 () As Long

Returns

The UTF-8 encoded token value parsed to an Int64.

Exceptions

The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.

-or-

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

Remarks

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

Applies to

See also