BloombergLP::bdljsn::JsonNumber::JsonNumber

Create a JsonNumber object having the same value and the same allocator as the specified text. The contents of the value string becomes unspecified but valid, and its allocator remains unchanged. The behavior is undefined unless isValidNumber(text) is true. See {JSON Textual Specification}.

Synopsis

Declared in <bdljsn_jsonnumber.h>

explicit
JsonNumber(bslmf::MovableRef<bsl::string> text);