Match测试 JSON 数据的 JavaScript 库
Match是一个可以通过使用一些良好的性能去测试JSON数据的JavaScript库。
安装:
npm install @ozkxr/match
用法:
比较基元
// Numbers match(3.1415, 3.1415) // => true //Strings match('Uno Dos Tres', 'Uno Dos Tres') // => true // Booleans match(false, false) // => true // And with undefined and null values match(undefined, undefined) // => true match(null, null) // => true
结构(对象和数组):
match({ name: 'Link', color: 'green' }, { name: 'Link', color: 'green' }) // => true match([ 'deku', 'goron', 'zora' ], [ 'deku', 'goron', 'zora' ]) // => true
评论
JSON for Modern C++C++ 的 JSON 库
JSONforModernC++是一个由德国大牛nlohmann编写的在C++下使用的JSON库。具有以下特点直观的语法整个代码由一个头文件组成json.hpp,没有子项目,没有依赖关系,没有复杂的构
JSON for Modern C++C++ 的 JSON 库
0
JSON for Modern C++C++ 的 JSON 库
JSON for Modern C++ 是一个由德国大牛 nlohmann 编写的在 C++ 下使用
JSON for Modern C++C++ 的 JSON 库
0
LomoX Json 4QTQT的json库
libname:LomoXJson4QTversion:1.0.0fuction:QT的json库,主要用于qtwebkitjs和c++交互使用1.LxJsonHelper构建一个QVariant的j
LomoX Json 4QTQT的json库
0