Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

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

Result<JsonNumber, JsonError>

A JsonNumber preserving its spelling or InvalidNumber. No numeric rounding or range restriction is imposed.