Cant open a .json file

Hi,
so every time I try to open a .json file via Processing, it crashes, and telling me “I don’t know how to a sketch with the “json” file extension.”.
I have both Java and p5.js Modes installed.
I’m kinda new to the programm and really appreciate if someone could clarify me the problem and how to solve it.

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