Create a Json object having the same value as original.
Declared in <bdljsn_json.h>
Json(
Json const& original,
bslma::Allocator* basicAllocator = 0);
Create a Json object having the same value as the specified original. Optionally specify the basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used to supply memory.
| Name | Description |
|---|---|
| original | source value |
| basicAllocator | memory allocator; null uses the default |