public static Map < String , Object > serializeToMap ( Object entity ) { IObjectSerializer serializer = getSerializer ( entity . getClass ( ) ) ; return ( Map < String , Object > ) serializer . serializeToMap ( entity , new HashMap < Object , Map < String , Object > > ( ) ) ; }
Serializes Object to Map using WebOrb s serializer .