[#BloombergLP-bdljsn-Json-2constructor-0bf4] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::Json :relfileprefix: ../../../ :mrdocs: Create a `Json` object holding `JsonNull` using `basicAllocator`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Json(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description Create a `Json` object having the type (and the singleton value) of `JsonNull`. Use the specified `basicAllocator` to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used to supply memory. == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#