I'm working with a large JSON file and VS Code is slow to validate it. Is there anything I can do to improve performance?

Responsive Ad Header

Question

Grade: Education Subject: Support
I'm working with a large JSON file and VS Code is slow to validate it. Is there anything I can do to improve performance?
Asked by:
121 Viewed 121 Answers

Answer (121)

Best Answer
(342)
For very large JSON files, VS Code's validation can become slow. Consider using a JSON schema to provide more specific validation rules, which can be faster than general syntax checking. Also, temporarily disabling JSON validation ('json.validate': false) while editing can improve responsiveness, but remember to re-enable it before saving.