@ Override public Object findSerializer ( Annotated am ) { if ( am . hasAnnotation ( ObjectId . class ) ) { return ObjectIdSerializer . class ; } return null ; }
Handling of ObjectId annotated properties