Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
192 B
C++
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
#include <inja/inja.hpp>
#include <iostream>
#include <nlohmann/json.hpp>
int main() {
nlohmann::json data = {{"name", "world"}};
inja::render_to(std::cout, "Hello {{ name }}!", data);
}