Initial check in
[apps/agl-service-navigation.git] / libnavi / include / JsonResponseAnalyzer.h
1 // Copyright 2017 AW SOFTWARE CO.,LTD
2 // Copyright 2017 AISIN AW CO.,LTD
3
4 #pragma once
5
6 #include <json-c/json.h>
7 #include <stdint.h>
8 #include <string>
9 #include <vector>
10 #include <map>
11
12 #include "libnavicore.hpp"
13
14 /**
15 *  @brief JSON response analysis class
16 */
17 class JsonResponseAnalyzer
18 {  
19 public:
20         static std::map< int32_t, naviapi::variant > AnalyzeResponseGetPosition( std::string& res_json );
21         static std::vector< uint32_t > AnalyzeResponseGetAllRoutes( std::string& res_json );
22         static uint32_t AnalyzeResponseCreateRoute( std::string& res_json );
23         static std::map<uint32_t, std::string> AnalyzeResponseGetAllSessions( std::string& res_json );
24 };
25