[#bsl-vector-008-2constructor-0e] = xref:bsl.adoc[bsl]::xref:bsl/vector-008.adoc[vector<Json>]::vector :relfileprefix: ../../ :mrdocs: Create a vector having the same value as the specified `original` object that uses the specified `basicAllocator` to supply memory. The contents of `original` are moved (in constant time) to the new vector if `basicAllocator == original.get_allocator()`, and are move‐inserted (in linear time) using `basicAllocator` otherwise. `original` is left in a valid but unspecified state. This method requires that the (template parameter) type `VALUE_TYPE` be `move‐insertable` into this vector (see {Requirements on `VALUE_TYPE`}). Note that a `bslma::Allocator *` can be supplied for `basicAllocator` if the (template parameter) type `ALLOCATOR` is `bsl::allocator` (the default). == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- vector( xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<vector<Json>>] original, type_identity<allocator<Json>>::type const& basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#