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

Name

Description

number

number value to store

basicAllocator

memory allocator; null uses the default

Created with MrDocs