diff --git a/CMakeLists.txt b/CMakeLists.txt index f4f331a..c2fb041 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ src/Http/HttpClient.cpp src/Http/HttpStream.cpp src/Http/ContentDisposition.cpp src/Mail/Smtp.cpp +src/Serialization/Json.cpp src/Streams/FileStream.cpp src/Streams/MemoryStream.cpp src/Streams/NetworkStream.cpp @@ -178,6 +179,8 @@ if(TESSESFRAMEWORK_ENABLE_EXAMPLES) add_executable(mountabletest examples/mountabletest.cpp) target_link_libraries(mountabletest PUBLIC tessesframework) + add_executable(printjsondecodedemoji examples/printjsondecodedemoji.cpp) + target_link_libraries(printjsondecodedemoji PUBLIC tessesframework) endif() if(TESSESFRAMEWORK_ENABLE_APPS) @@ -188,6 +191,13 @@ add_executable(tfileserver apps/tfileserver.cpp) target_link_libraries(tfileserver PUBLIC tessesframework) install(TARGETS tfileserver DESTINATION bin) +add_executable(tjsonpretty apps/tjsonpretty.cpp) +target_link_libraries(tjsonpretty PUBLIC tessesframework) +install(TARGETS tjsonpretty DESTINATION bin) + +add_executable(tjsonunpretty apps/tjsonunpretty.cpp) +target_link_libraries(tjsonunpretty PUBLIC tessesframework) +install(TARGETS tjsonunpretty DESTINATION bin) endif() include(InstallRequiredSystemLibraries) diff --git a/include/TessesFramework/TessesFramework.hpp b/include/TessesFramework/TessesFramework.hpp index 0d04bee..44f3981 100644 --- a/include/TessesFramework/TessesFramework.hpp +++ b/include/TessesFramework/TessesFramework.hpp @@ -25,4 +25,5 @@ #include "Crypto/MbedHelpers.hpp" #include "Lazy.hpp" #include "Mail/Smtp.hpp" -#include "HiddenField.hpp" \ No newline at end of file +#include "HiddenField.hpp" +#include "Serialization/Json.hpp" \ No newline at end of file