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