Validate JSON schema compliance with Jackson against an external schema file

后端 未结 3 1200
刺人心
刺人心 2021-01-11 21:43

I would like to use the Jackson library (https://github.com/FasterXML/jackson) to deal with JSON files in Java, which are described by a JSON schema file.

Now, I wo

3条回答
  •  半阙折子戏
    2021-01-11 22:27

    As far as I know Jackson can only produce schemas for given types, but not do validation. There is json-schema-validator but it is no longer maintained.

提交回复
热议问题