aboutsummaryrefslogtreecommitdiffstats
path: root/src/json_helper.hpp
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-05-10 13:10:28 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-05-10 13:10:28 +0900
commit2ea71aa957634ce69681ae34abace0566d52b744 (patch)
treeb9d9ee097a78d3d21ee07d85193a2e2e6862fce6 /src/json_helper.hpp
parent0dcb9ae1f99cffcafac62a324f8f054cc212a880 (diff)
Modify for restriction role
- Add policy for restriction to dummy stm. - Add the function which inputs json file because json_object_from_file can not allows up to only 4KB file. - Bug fix in json files. - Delete unexpected characters. - Delete description because it does not follow the format of json array. Change-Id: I2f8fba1d1001cf244e2531fe3a1a738d5a48091b Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/json_helper.hpp')
-rw-r--r--src/json_helper.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json_helper.hpp b/src/json_helper.hpp
index c2087cf..22ec3e6 100644
--- a/src/json_helper.hpp
+++ b/src/json_helper.hpp
@@ -33,5 +33,6 @@ namespace jh {
const char* getStringFromJson(json_object* obj, const char* key);
int getIntFromJson(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