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