Read json file from a path.
(fpath)
| 13 | |
| 14 | |
| 15 | def read_json(fpath): |
| 16 | """Read json file from a path.""" |
| 17 | with open(fpath, 'r') as f: |
| 18 | obj = json.load(f) |
| 19 | return obj |
| 20 | |
| 21 | |
| 22 | def write_json(obj, fpath): |
no outgoing calls
no test coverage detected