- Made FastWriter output more compact.

- fixed bug in runjsontests.py script.
This commit is contained in:
Baptiste Lepilleur
2007-03-17 22:14:59 +00:00
parent 4cd8bae331
commit 2d4dd281f1
4 changed files with 50 additions and 12 deletions

View File

@@ -115,7 +115,8 @@ rewriteValueTree( const std::string &rewritePath,
const Json::Value &root,
std::string &rewrite )
{
// Json::FastWriter writer;
//Json::FastWriter writer;
//writer.enableYAMLCompatibility();
Json::StyledWriter writer;
rewrite = writer.write( root );
FILE *fout = fopen( rewritePath.c_str(), "wt" );