Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 : #pragma once
7 :
8 : #include "pinger_config.hpp"
9 : #include <wfc/json.hpp>
10 :
11 : namespace demo{ namespace pingpong{
12 :
13 : struct pinger_config_json
14 : {
15 0 : JSON_NAME(target_list)
16 :
17 : typedef ::wfc::json::object<
18 : pinger_config,
19 : wfc::json::member_list<
20 : wfc::json::member< n_target_list, pinger_config, std::vector<std::string>, &pinger_config::target_list,
21 : ::wfc::json::vector_of_strings<>
22 : >
23 : >
24 : > type;
25 :
26 : typedef type::serializer serializer;
27 : typedef type::target target;
28 : typedef type::member_list member_list;
29 : };
30 :
31 : }}
|