BloombergLP::bdljsn::Json::Json

Create a Json object by moving from the specified number.

Synopsis

Declared in <bdljsn_json.h>

explicit
Json(
    bslmf::MovableRef<JsonNumber> number,
    bslma::Allocator* basicAllocator = 0);

Parameters

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