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 "ponger_config.hpp"
9 : #include <wfc/json.hpp>
10 :
11 : namespace demo{ namespace pingpong{
12 :
13 : struct ponger_config_json
14 : {
15 0 : JSON_NAME(pong_count)
16 :
17 : typedef ::wfc::json::object<
18 : ponger_config,
19 : wfc::json::member_list<
20 : wfc::json::member< n_pong_count, ponger_config, size_t, &ponger_config::pong_count>
21 : >
22 : > type;
23 :
24 : typedef type::serializer serializer;
25 : typedef type::target target;
26 : typedef type::member_list member_list;
27 : };
28 :
29 : }}
|