6

I got few JSON in my project and after importing them to Eclipse Neon I saw red mark on file (and on project) complaining "JSON Problem".

My question is how can I disable/skip/ignore the JSON errors from Eclipse Neon,

sagarr
  • 1,152
  • 1
  • 9
  • 16

1 Answers1

4

You can configure JSON validation and error marking under Preferences > JSON > JSON Files > Validation.

enter image description here

It can be configured for the entire workspace or on a per-project level (see the link on the preferences page "Configure Project Specific Settings..."

E-Riz
  • 31,431
  • 9
  • 97
  • 134
  • Sadly, Validation is not the only source for JSON errors, some are emitted by "language servers" and some from somewhere else. – Gustave Mar 24 '21 at 12:32