this function gets specific dictionary key value from json file args: par_value: dictionary key value par_json_file: json file return: value result
(self, par_value, par_json_file)
| 32 | return json.dump(par_data_dic) |
| 33 | |
| 34 | def get_json_value(self, par_value, par_json_file): |
| 35 | """ |
| 36 | this function gets specific dictionary key value from json file |
| 37 | args: |
| 38 | par_value: dictionary key value |
| 39 | par_json_file: json file |
| 40 | return: value result |
| 41 | """ |
| 42 | data_dic = self.convert_json_to_python(par_json_file) |
| 43 | return data_dic[par_value] |
nothing calls this directly
no test coverage detected