Create a JsonObject by moving from the specified original.

Synopsis

Declared in <bdljsn_json.h>

JsonObject(bslmf::MovableRef<JsonObject> original) noexcept;

Description

Create a JsonObject 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 JsonObject. original is left in a valid but unspecified state.

Parameters

Name

Description

original

source object

Created with MrDocs