Files
tessesframework/examples/printjsondecodedemoji.cpp
Mike Nolan 8413c67ec6
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Failing after 45s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Has been cancelled
Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
2026-05-27 03:02:16 -05:00

11 lines
296 B
C++

#include "TessesFramework/Serialization/Json.hpp"
using namespace Tesses::Framework::Serialization::Json;
int main(int argc, char **argv) {
auto json = Json::Decode("\"\\uD83D\\uDE44\"");
std::string str;
if (TryGetJToken(json, str)) {
std::cout << str << std::endl;
}
}