[#BloombergLP-bdljsn-Json-asLong]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::asLong
:relfileprefix: ../../../
:mrdocs:

Same as the related overload above for `asLong`&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
asLong(long* result) const;
----

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| destination for the converted value
|===


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