Description: when writing comments of. JSON file, the red prompt comments are not permitted in JSON. (521), as shown in the figure:
Step 1: click JSON in the lower right corner of the vscode interface
Step 2: enter JSON with comments in the box displayed at the top, and click use
The final effect is as follows:
Read More:
- VScode: How to Fix “Comments are not permitted in JSON” issue
- User defined profile in vscode settings.json And default configuration defaultSettings.json
- Create xxx.vue file with vscode, add comments and report error
- Configuration file for vscode setting.json UI interface or JSON form
- 【ipfs-api】npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
- After node.js is installed, use the instruction node version in vscode to show that it is not an external or internal instruction. The solution is as follows:
- npm ERR! Error: EPERM: operation not permitted, open ‘C:\Program Files\nodejs\node_ Solution to cache / xxx
- AVD FFmpeg avcodec_ A solution of open2 returning – 1 (operation not permitted)
- [development experience] solution to unexpected syntax error: unexpected identifier in JSON parsing
- NPM report error: eperm: operation not permitted, unlink… Solution and clear cache_ modules
- NPM install Error: EPERM: operation not permitted, mkdir solution
- Solve the problem of failure in installation of golang plug-in dependency in vscode
- Android 9.0 error: net:ERR_ CLEARTEXT_ NOT_ Permitted solution
- The solution of “double quotation marks become escape characters” in Java parsing JSON
- Solution to errors reported by TES command in vscode – errors reported by typescript command
- New fields in hive table and modification of field comments
- You are not allowed to upload merges in Git push
- 【react】 tsconfig.json Configuration of react JSX error reporting solution in
- Use less.js to verify and report an error in the Vue file of vscode
- Unexpected token u in JSON at position 0