codemirror json,js,html等语法提示功能

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

Which library is used for setting validations in Codemirror Json Editor?

 

See on this page: https://codemirror.net/demo/lint.html

which uses amongst other serveral source also this: https://codemirror.net/addon/lint/json-lint.js

and when using the source-view you will find this:

// Depends on jsonlint.js from https://github.com/zaach/jsonlint

so this would be the answer: https://github.com/zaach/jsonlint

A JSON parser and validator with a CLI.

http://zaach.github.com/jsonlint/

 

 

转载于:https://my.oschina.net/u/2391658/blog/2999091

你可能感兴趣的:(codemirror json,js,html等语法提示功能)