#ifndef __PARSER_H__ #define __PARSER_H__ #include #include #include using namespace Aws::LexRuntimeV2; using namespace Aws::LexRuntimeV2::Model; cJSON* lex2Json(const TranscriptEvent& ev); cJSON* lex2Json(const TextResponseEvent& ev); cJSON* lex2Json(const Message& msg); cJSON* lex2Json(const IntentResultEvent& ev); cJSON* lex2Json(const PlaybackInterruptionEvent& ev); cJSON* lex2Json(const Aws::Map& attr); cJSON* lex2Json(const Aws::Map& slots); cJSON* lex2Json(const SessionState& state) ; cJSON* lex2Json(const SentimentResponse& sentiment) ; cJSON* lex2Json(const Intent& intent) ; cJSON* lex2Json(const DialogAction& dialogAction); cJSON* lex2Json(const ActiveContext& context); cJSON* lex2Json(const SentimentScore& score); cJSON* lex2Json(const ActiveContextTimeToLive& ttl); cJSON* lex2Json(const Slot& slot); cJSON* lex2Json(const Value& value) ; cJSON* lex2Json(const Aws::Client::AWSError& err); #endif