Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

「Task」追加json自动验证器 #431

Open
silentbalanceyh opened this issue Aug 15, 2022 · 0 comments
Open

「Task」追加json自动验证器 #431

silentbalanceyh opened this issue Aug 15, 2022 · 0 comments

Comments

@silentbalanceyh
Copy link
Owner

  1. 参考项目:https://vertx.io/docs/vertx-json-schema/java/#_custom_formats
  2. zero中所有读取json的位置都是走的 Ut.ioJObject执行文件类型读取,直接在同样目录中执行绑定的schema验证
  3. 基本内容如下:
    • 如果目录下存在JSON文件:test.json
    • 直接在同样位置中创建JSON的schema文件:test.json.schema(存在则验证)
    • schema文件后缀名直接使用.schema,格式为Json
  4. 异常代码区域,10008开始,基类:UpException
  5. 整个内容采用 Infix Architecture 实现,如果启用则执行验证,如果不启用则跳过
@silentbalanceyh silentbalanceyh changed the title T - 追加json自动验证器 「Task」追加json自动验证器 Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant