Interface IJsonValidationResult

All Superinterfaces:
Serializable

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

    Modifier and Type
    Method
    Description
    A list of error messages, if the JSON is invalid.
    boolean
    Whether the JSON is valid.
  • Method Details

    • 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.