public IJsonMarshaller getJsonMarshaller ( Annotation [ ] annotations ) throws JsonMarshallerException { if ( annotations != null ) { for ( Annotation annotation : annotations ) { if ( JsonUnmarshaller . class . isAssignableFrom ( annotation . annotationType ( ) ) ) { return getJsonMarshallerFromAnnotation ( ( JsonUnmarshaller ) annotation ) ; } } } return null ; }
Return JsonUnmarshaller instance if annotation JsonUnmarshaller is present