/*
- * Copyright (C) 2017 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (c) 2017 TOYOTA MOTOR CORPORATION
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#ifndef TMCAGLWM_JSON_HELPER_HPP
#define TMCAGLWM_JSON_HELPER_HPP
-#include "result.hpp"
-#include "wayland.hpp"
-#include <json.hpp>
-struct json_object;
+#include "wayland_ivi_wm.hpp"
+#include <json-c/json.h>
-json_object *to_json(genivi::screen const *s);
-json_object *to_json(genivi::controller::props_map const &s);
+
+json_object *to_json(compositor::screen const *s);
+json_object *to_json(compositor::controller::props_map const &s);
json_object *to_json(std::vector<uint32_t> const &v);
+namespace jh {
+const char* getStringFromJson(json_object* obj, const char* key);
+int getIntFromJson(json_object* obj, const char* key);
+double getDoubleFromJson(json_object* obj, const char* key);
+json_bool getBoolFromJson(json_object* obj, const char* key);
+int inputJsonFilie(const char* file, json_object** obj);
+} // namespace jh
#endif // TMCAGLWM_JSON_HELPER_HPP