[#BloombergLP-bdljsn-Json-allocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::allocator
:relfileprefix: ../../../
:mrdocs:

Return the allocator used by this object to allocate memory&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*
allocator() const noexcept;
----

== Return Value

the allocator used by this object


[.small]#Created with https://www.mrdocs.com[MrDocs]#
