private Map < String , Object > flatten ( Map < String , Object > map ) { Map < String , Object > result = new LinkedHashMap <> ( ) ; flatten ( null , result , map ) ; return result ; }
Flatten the map keys using period separator .