Class JSONValidator

java.lang.Object
com.sdicons.json.validator.JSONValidator
All Implemented Interfaces:
Validator

public class JSONValidator extends Object implements Validator
A validator that accepts a validator description in JSON format.
  • Field Details

  • Constructor Details

    • JSONValidator

      public JSONValidator(JSONObject aValidation) throws ValidationException
      Construct the validator based on the JSON description.
      Parameters:
      aValidation - The JSON description of the validator.
      Throws:
      ValidationException - If the JSON description did not represent a validator.
  • Method Details