BloombergLP::bdljsn::Json::Json

Create a Json object by moving from the specified original.

Synopsis

Declared in <bdljsn_json.h>

Json(bslmf::MovableRef<Json> original);

Description

Create a Json object having the same value as the specified original object by moving (in constant time) the contents of original to the new JsonObject. The allocator associated with original is propagated for use in the newly-created Json object. original is left in a valid but unspecified state.

Parameters

NameDescription
originalsource value