Load a .json file into a dictionary.
(f, mode="r")
| 32 | return f |
| 33 | |
| 34 | def jload(f, mode="r"): |
| 35 | """Load a .json file into a dictionary.""" |
| 36 | f = _make_r_io_base(f, mode) |
| 37 | jdict = json.load(f) |
| 38 | f.close() |
| 39 | return jdict |
| 40 | |
| 41 | |
| 42 | IGNORE_INDEX = -100 |
nothing calls this directly
no test coverage detected