Create a Json object holding the specified number.

Synopsis

Declared in <bdljsn_json.h>

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

Parameters

Name

Description

number

number value to store

basicAllocator

memory allocator; null uses the default

Created with MrDocs