BloombergLP::bdljsn::JsonNumber::JsonNumber

Create a JsonNumber having the same value as the specified original.

Synopsis

Declared in <bdljsn_jsonnumber.h>

JsonNumber(
    JsonNumber const& original,
    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
originalobject providing the value
allocatorallocator used to supply memory