This is the code that I have been trying:
import ijson
import urllib.request
with urllib.request.urlopen(some_link) as read_file:
path_array = ijson.items(read_file, object_in_json)
but I get this error:
(b'lexical error: invalid char in json text.\n \x1f\x8b\x08 (right here) ------^\n',)