Json query python 39/21/2023 ![]() ![]() Parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)įile "C:\Users\Andres Torti\AppData\Local\Programs\Python\Python35-32\lib\json\_init_.py", line 319, in loadsįile "C:\Users\Andres Torti\AppData\Local\Programs\Python\Python35-32\lib\json\decoder.py", line 339, in decode Pydev_imports.execfile(file, globals, locals) # execute the scriptįile "C:\Program Files (x86)\JetBrains\P圜harm 4.0.5\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfileĮxec(compile(contents+"\n", file, 'exec'), glob, loc)įile "C:/Users/Andres Torti/Git-Repos/MCF/Sur3D.App/shapes-json-checker.py", line 14, in įile "C:\Users\Andres Torti\AppData\Local\Programs\Python\Python35-32\lib\json\_init_.py", line 268, in load Globals = n(setup, None, None)įile "C:\Program Files (x86)\JetBrains\P圜harm 4.0.5\helpers\pydev\pydevd.py", line 1643, in run I'm getting this exception: Traceback (most recent call last):įile "C:\Program Files (x86)\JetBrains\P圜harm 4.0.5\helpers\pydev\pydevd.py", line 2217, in ![]() ![]() I checked my file here and it tells me it's perfectly fine with the RFC 7159 format, but when trying to read it using this simple python code: with open(absolute_json_file_path, encoding='utf-8-sig') as json_file: As described in the docs the JSON file must be compliant to RFC 7159. I'm trying to parse this JSON file using the json module. The JSON file I'm reading is this which is a JSON array containing 2 more arrays. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |