diff --git a/src/inja.hpp b/src/inja.hpp index f8d53c0..7c166fc 100644 --- a/src/inja.hpp +++ b/src/inja.hpp @@ -410,6 +410,7 @@ public: return eval_expression(element.args[0], data) != eval_expression(element.args[1], data); } case Parsed::Function::ReadJson: { + std::cout << "eval_function - read json - " << element.command << std::endl; if ( json::accept(element.command) ) { return json::parse(element.command); } // Json Raw Data std::string input = element.command; @@ -550,7 +551,7 @@ public: MatchType match_function = match(input, regex_map_functions); switch ( match_function.type() ) { case Parsed::Function::ReadJson: { - std::cout << "parse read json" << std::endl; + std::cout << "parse read json - " << match_function.str(1) << std::endl; Parsed::ElementExpression result = Parsed::ElementExpression(Parsed::Function::ReadJson); result.command = match_function.str(1); return result;