diff OrthancFramework/UnitTestsSources/RestApiTests.cpp @ 4394:f7104e9d044c

functions to read/write JSON in OrthancPluginCppWrapper.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Dec 2020 08:11:37 +0100
parents 3af1d763763a
children 80fd140b12ba
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Mon Dec 21 18:55:32 2020 +0100
+++ b/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Tue Dec 22 08:11:37 2020 +0100
@@ -343,7 +343,7 @@
   root.CreateSiteMap(m);
 
   std::string s;
-  Toolbox::WriteJson(s, m, false /* styled, not fast */);
+  Toolbox::WriteStyledJson(s, m);
 
   Json::Value d;
   ASSERT_FALSE(GetDirectory(d, root, "/hello"));