Skip to content

A solution to check whether the JSON content conformance to expectation

License

Notifications You must be signed in to change notification settings

xingshuo/json-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsonCheck

基于lua实现的检查json内容是否符合预期的一种解决方案

设计思路与流程

flowchart

支持平台

Windows 64bit

依赖库(对应deps目录下文件)

http://luabinaries.sourceforge.net/download.html lua53.dll,lua.exe为下载的对应压缩包中文件
https://github.com/mpx/lua-cjson cjson.dll为修改Makefile后利用mingw编译的windows 64位动态库
https://github.com/LuaDist/lpeg lpeg.dll为修改Makefile后利用mingw编译的windows 64位动态库

安装

git clone https://github.com/xingshuo/json-check.git

运行测试用例

deps\lua.exe examples\main.lua      #Win CMD
deps/lua.exe examples/main.lua      #gitbash

About

A solution to check whether the JSON content conformance to expectation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages