[#BloombergLP-baljsn-Formatter-putValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/Formatter.adoc[Formatter]::putValue :relfileprefix: ../../../ :mrdocs: Print onto the stream supplied at construction the specified `value`. Optionally specify `options` according which `value` should be encoded. Return 0 on success and a non‐zero value otherwise. == Synopsis Declared in `<baljsn_formatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int putValue( TYPE const& value, xref:BloombergLP/baljsn/EncoderOptions.adoc[EncoderOptions] const* options = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#