[#BloombergLP-bdljsn-JsonNumber-allocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]::allocator :relfileprefix: ../../../ :mrdocs: *DEPRECATED*: Use `get_allocator()` instead. == Synopsis Declared in `<bdljsn_jsonnumber.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator() const; ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Return `get_allocator().mechanism()`, i.e., the memory resource used by this object to supply memory. [.small]#Created with https://www.mrdocs.com[MrDocs]#