]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_json_enc.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / rgw / rgw_json_enc.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
3
4 #include "rgw_common.h"
5 #include "rgw_zone.h"
6 #include "rgw_log.h"
7 #include "rgw_acl.h"
8 #include "rgw_acl_s3.h"
9 #include "rgw_cache.h"
10 #include "rgw_bucket.h"
11 #include "rgw_datalog.h"
12 #include "rgw_keystone.h"
13 #include "rgw_basic_types.h"
14 #include "rgw_op.h"
15 #include "rgw_data_sync.h"
16 #include "rgw_sync.h"
17 #include "rgw_orphan.h"
18 #include "rgw_bucket_sync.h"
19 #include "rgw_tools.h"
20
21 #include "common/ceph_json.h"
22 #include "common/Formatter.h"
23
24 #define dout_context g_ceph_context
25 #define dout_subsys ceph_subsys_rgw
26
27 using namespace std;
28
29 void decode_json_obj(rgw_placement_rule& v, JSONObj *obj)
30 {
31 string s;
32 decode_json_obj(s, obj);
33 v.from_str(s);
34 }
35