I have been able to load a GeoJSON file into QGIS by simply clicking "Add Vector Layer", and selecting my file to load.
Now I'm using the
qgis.core Python package, and I'm trying to load the GeoJSON file as a layer. I'm following instructions from the QGIS Python Cookbook - Loading Layers section; but I can't find how to specify that I'm loading a GeoJSON file.
to no avail. Any advice on what I could do?