start standardizing the RPC returns

This commit is contained in:
jed
2012-06-11 15:40:40 -07:00
parent 6b741530a3
commit 2d7e096d29
7 changed files with 44 additions and 44 deletions

View File

@@ -57,9 +57,9 @@ std::string SerializedLedgerEntry::getText() const
Json::Value SerializedLedgerEntry::getJson(int options) const
{
Json::Value ret(mObject.getJson(options));
ret["Type"] = mFormat->t_name;
ret["Index"] = mIndex.GetHex();
ret["Version"] = mVersion.getText();
ret["type"] = mFormat->t_name;
ret["index"] = mIndex.GetHex();
ret["version"] = mVersion.getText();
return ret;
}