How large Json files can you load into Visual Studio 2013 and 2015?
Posted: (EET/GMT+2)
Visual Studio works as a great editor for many different files types, including the popular JSON format. Visual Studio's default editor brings syntax checking, code editor coloring and schema validation. However, there's a limitation related to the file size that the JSON editor can handle.
If you try to open a file that is larger than 5 MB, then you will see a plain version of the code editor without color coding or code folding. Also, at the same time the Output window reports:
Unable to open json file as it exceeds the 5 MB limit for the JSON editor
At this writing, I'm not aware of any workarounds to this limitation. It seems a little silly, but perhaps there's a technical underlying reason for this (rather small) limitation.
Hope this helps!