diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-10 13:10:28 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-10 13:10:28 +0900 |
commit | 2ea71aa957634ce69681ae34abace0566d52b744 (patch) | |
tree | b9d9ee097a78d3d21ee07d85193a2e2e6862fce6 /src/json_helper.hpp | |
parent | 0dcb9ae1f99cffcafac62a324f8f054cc212a880 (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.hpp | 1 |
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 |