public static Map < String , Object > toMap ( final Object object , Set < String > ignore ) { return new MapperComplex ( ignore ) . toMap ( object ) ; }
This could be refactored to use core . TypeType class and it would run faster . Converts an object into a map