Add Json::to_string:

This allows the declaration for FastWriter to be hidden and makes
conversion of Json::Value objects to strings a little less clunky.
This commit is contained in:
Tom Ritchford
2014-10-28 14:51:48 -04:00
committed by Vinnie Falco
parent 8c1c2f5d05
commit 9cba944d21
14 changed files with 91 additions and 19 deletions

View File

@@ -92,7 +92,6 @@ TER TransactionEngine::applyTransaction (
{
WriteLog (lsFATAL, TransactionEngine) <<
"Transaction serdes mismatch";
Json::StyledStreamWriter ssw;
WriteLog (lsINFO, TransactionEngine) << txn.getJson (0);
WriteLog (lsFATAL, TransactionEngine) << s2.getJson (0);
assert (false);