[#BloombergLP-baljsn-Decoder-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/Decoder.adoc[Decoder]::Decoder :relfileprefix: ../../../ :mrdocs: Construct a decoder object using the optionally specified `basicAllocator`. If `basicAllocator` is 0, the default allocator is used. == Synopsis Declared in `<baljsn_decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Decoder(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#