[#ParseDescriptorRange]
= ParseDescriptorRange
:mrdocs:

Parse a JSON range specified as an int64 or as a &lsqb;int64, int64&rsqb;pair&period;

== Synopsis

Declared in `&lt;rpc&sol;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::pair&lt;int64&lowbar;t, int64&lowbar;t&gt;
ParseDescriptorRange(xref:UniValue.adoc[UniValue] const& value);
----

== Return Value

The parsed (begin, end) range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The range as a JSON number or two&hyphen;element array&period;
|===


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