human
Python load json file with UTF-8 BOM header
assistant
Here is some code to open file 'sample.json' in read mode with encoding of 'utf-8-sig'

json.load(codecs.open('sample.json', 'r', 'utf-8-sig'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.