mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-05 09:46:38 +00:00
Add JsonOptions enum class to contain options passed to getJSON methods
This commit is contained in:
@@ -61,7 +61,7 @@ STUInt8::getText () const
|
||||
|
||||
template <>
|
||||
Json::Value
|
||||
STUInt8::getJson (int) const
|
||||
STUInt8::getJson (JsonOptions) const
|
||||
{
|
||||
if (getFName () == sfTransactionResult)
|
||||
{
|
||||
@@ -119,7 +119,7 @@ STUInt16::getText () const
|
||||
|
||||
template <>
|
||||
Json::Value
|
||||
STUInt16::getJson (int) const
|
||||
STUInt16::getJson (JsonOptions) const
|
||||
{
|
||||
if (getFName () == sfLedgerEntryType)
|
||||
{
|
||||
@@ -166,7 +166,7 @@ STUInt32::getText () const
|
||||
|
||||
template <>
|
||||
Json::Value
|
||||
STUInt32::getJson (int) const
|
||||
STUInt32::getJson (JsonOptions) const
|
||||
{
|
||||
return value_;
|
||||
}
|
||||
@@ -195,7 +195,7 @@ STUInt64::getText () const
|
||||
|
||||
template <>
|
||||
Json::Value
|
||||
STUInt64::getJson (int) const
|
||||
STUInt64::getJson (JsonOptions) const
|
||||
{
|
||||
return strHex (value_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user