Return true if the specified text complies with the grammar of a JSON number, and false otherwise.

Synopsis

Declared in <bdljsn_jsonnumber.h>

static
bool
isValidNumber(std::string_view const& text);

Description

See the {JSON Textual Specification}.

Return Value

true if text complies with the grammar of a JSON number, and false otherwise

Parameters

Name

Description

text

candidate JSON number text

Created with MrDocs