[#BloombergLP-bdljsn-JsonArray-allocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]::allocator :relfileprefix: ../../../ :mrdocs: Return the allocator used by this object to allocate memory. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#