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