BloombergLP::bdljsn::NumberUtil::isValidNumber

Return true if the specified value is a valid JSON number. Note that this function may return true even if value cannot be represented in any particular number type.

Synopsis

Declared in <bdljsn_numberutil.h>

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