[#BloombergLP-baljsn-SimpleFormatter-addValue-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/SimpleFormatter.adoc[SimpleFormatter]::addValue :relfileprefix: ../../../ :mrdocs: `addValue` overloads == Synopses Declared in `<baljsn_simpleformatter.h>` Print onto the stream supplied at construction the specified `value`, preceded, if necessary, by a comma, passing the optionally specified `options` through to the rendering routines. Return 0 on success and a non‐zero value otherwise. The behavior is undefined unless `isNameNeeded()` is `false`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/baljsn/SimpleFormatter/addValue-02.adoc[addValue](TYPE const& value); ---- [.small]#xref:BloombergLP/baljsn/SimpleFormatter/addValue-02.adoc[_» more..._]# Print onto the stream supplied at construction the specified `name` and the specified `value`, preceded, if necessary, by a comma, passing the optionally specified `options` through to the rendering routines. Return 0 on success and a non‐zero value otherwise. The behavior is undefined unless `isNameNeeded()` is `true`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/baljsn/SimpleFormatter/addValue-08.adoc[addValue]( std::string_view const& name, TYPE const& value); ---- [.small]#xref:BloombergLP/baljsn/SimpleFormatter/addValue-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#