BloombergLP::bdljsn::JsonNumber::JsonNumber

Create a JsonNumber having the specified value.

Synopsis

Declared in <bdljsn_jsonnumber.h>

explicit
JsonNumber(
    int value,
    allocator_type const& allocator = allocator_type());

Description

Optionally specify an allocator (e.g., the address of a bslma::Allocator object) used to supply memory.

Parameters

NameDescription
valuenumeric value to store
allocatorallocator used to supply memory