[#BloombergLP-baljsn-JsonFormatter_Util-valueAsJson-0bc8]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonFormatter_Util.adoc[JsonFormatter&lowbar;Util]::xref:BloombergLP/baljsn/JsonFormatter_Util/valueAsJson-00.adoc[valueAsJson]&lt;xref:BloombergLP/bdlt/Datetime.adoc[Datetime]&gt;
:relfileprefix: ../../../
:mrdocs:

== Synopsis

Declared in `&lt;baljsn&lowbar;jsonformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
int
xref:BloombergLP/baljsn/JsonFormatter_Util/valueAsJson-00.adoc[valueAsJson]&lt;Datetime&gt;(
    xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json]* json,
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& value,
    xref:BloombergLP/baljsn/EncoderOptions.adoc[EncoderOptions] const* options);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
