[#common-SettingsValue]
= xref:common.adoc[common]::SettingsValue
:relfileprefix: ../
:mrdocs:

Settings value type (string&sol;integer&sol;boolean&sol;null variant)&period;

== Synopsis

Declared in `&lt;common&sol;settings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using SettingsValue = xref:UniValue.adoc[UniValue];
----

== Description

[NOTE]
====
UniValue is used here for convenience and because it can be easily serialized in a readable format&period; But any other variant type that can be assigned strings, int64&lowbar;t, and bool values and has get&lowbar;str(), getInt&lt;int64&lowbar;t&gt;(), get&lowbar;bool(), isNum(), isBool(), isFalse(), isTrue() and isNull() methods can be substituted if there&apos;s a need to move away from UniValue&period; (An implementation with boost&colon;&colon;variant was posted at https&colon;&sol;&sol;github&period;com&sol;bitcoin&sol;bitcoin&sol;pull&sol;15934&sol;files&num;r337691812)

====


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