Add JsonOptions enum class to contain options passed to getJSON methods

This commit is contained in:
Mo Morsi
2019-06-08 01:10:33 -04:00
committed by Manoj doshi
parent c2138c4e88
commit f8365f5009
77 changed files with 382 additions and 270 deletions

View File

@@ -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_);
}