Method
Parse
static func Parse(text: string) -> Result<JsonNumber, JsonError>
Declaring type: JsonNumber
Module: System.Data.Json
Assembly: System.Data.dll
Source file: JsonValue.rvn
Validates one JSON number token without a fixed token-size cap.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | Token without surrounding whitespace. |
Return value
A JsonNumber preserving its spelling or InvalidNumber. No numeric rounding or range restriction is imposed.