Interface IJsonValidationResult

  • All Superinterfaces:
    Serializable

    public interface IJsonValidationResult
    extends Serializable
    Result of validating a JSON.
    Since:
    8.5.0
    • Method Detail

      • errors

        List<IJsonValidationError> errors()
        A list of error messages, if the JSON is invalid. If the JSON is valid, this list is empty. The exact error message are implementation-dependent and are subject to change.
        Returns:
        A list of error messages, if the JSON is invalid. If the JSON is valid, this list is empty.
      • valid

        boolean valid()
        Whether the JSON is valid.
        Returns:
        Whether the JSON is valid.