BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
serialize
json
JsonPropertiesSerializer.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_JSON_PROPERTIES_SERIALIZER_H__
18
#define __BUSBOY_JSON_PROPERTIES_SERIALIZER_H__
19
20
#include <string>
21
22
#include "
util/util_api.h
"
23
#include "
serialize/serialize_api.h
"
24
25
namespace
BUSBOY {
26
27
class
JsonPropertiesSerializerImpl;
28
29
class
JsonPropertiesSerializer
:
public
PropertiesSerializer
{
30
31
public
:
32
33
JsonPropertiesSerializer
();
34
35
~JsonPropertiesSerializer
();
36
37
std::string
serializeProperties
(
const
Properties
& config)
const
;
38
39
Properties
deserializeProperties
(
const
std::string& data)
const
;
40
41
std::string
getContentType
()
const
;
42
43
private
:
44
45
JsonPropertiesSerializerImpl
* m_impl;
46
47
// prevent calling these
48
JsonPropertiesSerializer
(
const
JsonPropertiesSerializer
& serializer);
49
JsonPropertiesSerializer
& operator=(
const
JsonPropertiesSerializer
& serializer);
50
51
52
};
53
54
}
55
#endif
56
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.