/* * TinyBlocks - tb_json.h * Library tinyblocks-json: parser/emissor de JSON e blocos de consulta. */ #ifndef TINYBLOCKS_JSON_H #define TINYBLOCKS_JSON_H #include #include "ast.h" #ifdef __cplusplus extern "C" { #endif TB_API const TinyBlocks_LibraryDescriptor* tb_json_get_library(void); /* Le um valor escalar de um texto JSON (caminho "a.b[0].c"). * Devolve em buffer estatico; util para metadados/UI. */ TB_API const char* tb_json_get_path(const char* text, const char* dotted, const char* def); #ifdef __cplusplus } #endif #endif /* TINYBLOCKS_JSON_H */