diff OrthancFramework/Sources/Lua/LuaContext.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/Sources/Lua/LuaContext.cpp	Mon Dec 21 18:55:32 2020 +0100
+++ b/OrthancFramework/Sources/Lua/LuaContext.cpp	Tue Dec 22 08:11:37 2020 +0100
@@ -148,7 +148,7 @@
     that.GetJson(json, state, 1, keepStrings);
 
     std::string s;
-    Toolbox::WriteJson(s, json, true /* fast */);
+    Toolbox::WriteFastJson(s, json);
     lua_pushlstring(state, s.c_str(), s.size());
 
     return 1;