@ SuppressWarnings ( "unchecked" ) @ Internal protected final void setLinks ( Map < String , Object > links ) { for ( Map . Entry < String , Object > entry : links . entrySet ( ) ) { String name = entry . getKey ( ) ; Object value = entry . getValue ( ) ; if ( value instanceof Map ) { Map < String , Object > linkMap = ( Map < String , Object > ) value ; link ( name , linkMap ) ; } } }
Allows de - serializing of links with Jackson .