def json_error_class():
if sys.version_info[<NUM_LIT:0>] >= <NUM_LIT:3> and sys.version_info[<NUM_LIT:1>] >= <NUM_LIT:5>:<EOL><INDENT>return json.JSONDecodeError<EOL><DEDENT>return ValueError<EOL>
Returns the class for JSON decode errors
    depends on the Python version.