@value_converter
def inputjson(to_convert):
    'Loads json from file or returns passed object.\n\n    Args:\n        to_convert (string or dict):\n            File name or json dictionary.\n\n    Returns:\n        Loaded json dictionary or passed object.\n\n    '
    from improver.utilities.cli_utilities import load_json_or_none
    return maybe_coerce_with(load_json_or_none, to_convert)
Loads json from file or returns passed object.

Args:
    to_convert (string or dict):
        File name or json dictionary.

Returns:
    Loaded json dictionary or passed object.
@value_converter
def inputjson(to_convert):
    'Loads json from file or returns passed object.\n\n    Args:\n        to_convert (string or dict):\n            File name or json dictionary.\n\n    Returns:\n        Loaded json dictionary or passed object.\n\n    '
    from improver.utilities.cli_utilities import load_json_or_none
    return maybe_coerce_with(load_json_or_none, to_convert)