6#ifndef CWIST_TEMPLATE_H
7#define CWIST_TEMPLATE_H
10#include <cjson/cJSON.h>
Safe string type with helper methods.
cwist_sstring * cwist_template_render(const char *template_str, const cJSON *context)
Renders a template string with the given cJSON context.
cwist_sstring * cwist_template_render_file(const char *file_path, const cJSON *context)
Renders a template from a file with the given cJSON context.