[#BloombergLP-baljsn-JsonFormatter-putNullValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonFormatter.adoc[JsonFormatter]::putNullValue :relfileprefix: ../../../ :mrdocs: Set the value of the current array element or object value ‐‐ depending on the context ‐‐ to `bdljsn::JsonNull`. Return 0 on success and a non‐zero value otherwise. An error is returned when `putNullValue` is called in an unexpected context. == Synopsis Declared in `<baljsn_jsonformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int putNullValue(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#