]> granicus.if.org Git - icinga2/blob - lib/base/json.hpp
Merge pull request #7185 from Icinga/bugfix/gelfwriter-wrong-log-facility
[icinga2] / lib / base / json.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef JSON_H
4 #define JSON_H
5
6 #include "base/i2-base.hpp"
7
8 namespace icinga
9 {
10
11 class String;
12 class Value;
13
14 String JsonEncode(const Value& value, bool pretty_print = false);
15 Value JsonDecode(const String& data);
16
17 }
18
19 #endif /* JSON_H */