BloombergLP::bdljsn::JsonArray::JsonArray

Create a JsonArray by moving from the specified original.

Synopsis

Declared in <bdljsn_json.h>

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

Description

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

Parameters

NameDescription
originalsource array