icinga2/lib/base/json.hpp

20 lines
284 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2014-10-26 14:59:49 -04:00
#ifndef JSON_H
#define JSON_H
#include "base/i2-base.hpp"
namespace icinga
{
2014-12-15 04:16:06 -05:00
class String;
class Value;
2017-12-31 01:22:16 -05:00
String JsonEncode(const Value& value, bool pretty_print = false);
Value JsonDecode(const String& data);
2014-10-26 14:59:49 -04:00
}
#endif /* JSON_H */