summaryrefslogtreecommitdiffstats
path: root/src/json_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/json_helper.cpp')
-rw-r--r--src/json_helper.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/json_helper.cpp b/src/json_helper.cpp
index b97f21d..c2f4173 100644
--- a/src/json_helper.cpp
+++ b/src/json_helper.cpp
@@ -136,18 +136,6 @@ int getIntFromJson(json_object *obj, const char *key)
return json_object_get_int(tmp);
}
-json_bool getBoolFromJson(json_object *obj, const char *key)
-{
- json_object *tmp;
- if (!json_object_object_get_ex(obj, key, &tmp))
- {
- HMI_DEBUG("wm:jh", "Not found key \"%s\"", key);
- return FALSE;
- }
-
- return json_object_get_boolean(tmp);
-}
-
int inputJsonFilie(const char* file, json_object** obj)
{
const int input_size = 128;