fluent json validator:一个易于使用可表达且可组合的JSON对象验证器具有流畅的构建器模式界面! 源码
流利的JSON验证器 一个易于使用,可表达且可组合的JSON对象验证器,具有流畅的构建器模式界面! // this is what you want to validate: // coming from the user, read from a file, sent back by some API, etc. const person = { name : 'John Doe' , age : 42 , hobbies : [ 'eating' , 'coding' , 'sleeping' ] , favoriteNumberOrColor : 'green' } ; // this is the structure you want your data to have: const personSchema = is . Object ( {
文件列表
fluent-json-validator-master.zip
(预估有个36文件)
fluent-json-validator-master
is.js
8KB
LICENSE
1KB
README.md
9KB
docs
index.html
12KB
is.js.html
9KB
styles
prettify-tomorrow.css
2KB
prettify-jsdoc.css
1KB
暂无评论