You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
210 B

import json
import sys
def load_json_file(filepath: str) -> any:
with open(filepath, "r") as f:
return json.load(f)
def print_error(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)