You can’t use the Processing IDE to open .json files. If you want to open them you can use your systems text editor, or if you want to load a .json file to a Processing sketch, you can use loadJSONObject():
https://processing.org/reference/loadJSONObject_.html