BloombergLP::bdljsn::Json::Json

Create a Json object holding the specified number.

Synopsis

Declared in <bdljsn_json.h>

explicit
Json(
    JsonNumber const& number,
    bslma::Allocator* basicAllocator = 0);

Parameters

NameDescription
numbernumber value to store
basicAllocatormemory allocator; null uses the default