Package yapion.hierarchy.validators
Interface ValidationHook
- 
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
 @FunctionalInterface public interface ValidationHook
- 
- 
Method SummaryModifier and Type Method Description java.util.List<java.lang.String>path(java.util.List<java.lang.String> path)Alter the validation so that the path of youYAPIONAnyTypecan be deeper in the object.
 
- 
- 
- 
Method Detail- 
pathjava.util.List<java.lang.String> path(java.util.List<java.lang.String> path) Alter the validation so that the path of youYAPIONAnyTypecan be deeper in the object. This is useful for validating data in anYAPIONPacketas you don't want to generate a complete validator for the whole Object, just for the data.- Parameters:
- path-
- Returns:
- the new path
 
 
- 
 
-