Follow these steps:
- Click on the letters JSON in the bottom right corner. (A drop-down will appear to “Select the Language Mode.”)
- Select “Configure File Association for ‘.json’…”

- Type
jsoncand press Enter.

If you only want to disable the error message for a single file, skip step #2.