Pass-Through Keyword Arguments¶
JSON Config stays out of your way as a Python developer. There’s no magic, you can use Config context manager to pass any valid keyword arguments to the functions below.
- if
readable
orwritable
: - click.get_app_dir
- if
readable
: - io.open if PY2 else open
- json.load
- if
box
: - box.Box
- if
writable
: - io.open if PY2 else open
- json.dump
The only limitation is when there is when there is a name collision,
currently the only known collision is the cls
argument, which is used in
both json.load and json.dump.