mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
20 lines
284 B
C++
20 lines
284 B
C++
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#ifndef JSON_H
|
|
#define JSON_H
|
|
|
|
#include "base/i2-base.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class String;
|
|
class Value;
|
|
|
|
String JsonEncode(const Value& value, bool pretty_print = false);
|
|
Value JsonDecode(const String& data);
|
|
|
|
}
|
|
|
|
#endif /* JSON_H */
|