Interface IJsonValidationError
- All Superinterfaces:
Serializable
A single JSON validation error, containing a location and a message. Used by
IJsonValidationResult.errors().- Since:
- 8.5.0
- See Also:
-
Method Summary
-
Method Details
-
column
int column()The column where the validation error occurred, if applicable. The first column is 1.- Returns:
- The column, or -1 if unknown.
-
line
int line()The line where the validation error occurred, if applicable. The first line is 1.- Returns:
- The line, or -1 if unknown.
-
location
String location()The location where the validation error occurred. Could be e.g. a JSON path or some other descriptor.- Returns:
- The location.
-
message
-