Class JsonSchemaValidator


  • public class JsonSchemaValidator
    extends Object
    A very basic and lightweight json schema parsing and data validation tool. This custom tool is created because a) we need to support non json inputs b) to avoiding double parsing (this accepts an already parsed json as a map) It validates most aspects of json schema but it is NOT A FULLY COMPLIANT JSON schema parser or validator. This validator borrow some design's idea from https://github.com/networknt/json-schema-validator
    • Constructor Detail

      • JsonSchemaValidator

        public JsonSchemaValidator​(String jsonString)
      • JsonSchemaValidator

        public JsonSchemaValidator​(Map<?,​?> jsonSchema)