Utf8JsonReader.GetByte Method


Parses the current JSON token value from the source as a Byte.

 System::Byte GetByte();
public byte GetByte ();
member this.GetByte : unit -> byte
Public Function GetByte () As Byte


The value of the UTF-8 encoded token.


The value of the JSON token is not a Number.

The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).


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

Applies to

See also