Utf8JsonReader.GetSingle 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 Single.
public:
float GetSingle();
public float GetSingle ();
member this.GetSingle : unit -> single
Public Function GetSingle () As Single
Returns
The UTF-8 encoded token value parsed to a Single.
Exceptions
The JSON token value isn't a Number.
The JSON token value represents a number less than Single.MinValue or greater than Single.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.