easyidp.jsonfile.read_json#

easyidp.jsonfile.read_json(json_path)#

Read json file to python dict.

パラメータ:

json_path (str) -- The path to json file

戻り値の型:

dict

サンプル

Data prepare:

>>> import easyidp as idp
>>> test_data = idp.data.TestData()

Use this function:

>>> out = idp.jsonfile.read_json(test_data.json.for_read_json)
>>> out
{'test': {'rua': [[12, 34], [45, 56]]}, 'hua': [34, 34.567]}