Mercurial > hg > orthanc
diff OrthancFramework/UnitTestsSources/LuaTests.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 | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/LuaTests.cpp Mon Dec 21 18:55:32 2020 +0100 +++ b/OrthancFramework/UnitTestsSources/LuaTests.cpp Tue Dec 22 08:11:37 2020 +0100 @@ -176,7 +176,7 @@ f.ExecuteToString(s); std::string t; - Orthanc::Toolbox::WriteJson(t, a, true /* fast */); + Orthanc::Toolbox::WriteFastJson(t, a); ASSERT_EQ(s, t); } }