WritableNativeMap function ( Map < String , Object > arg0 ) { WritableNativeMap loc0 = new WritableNativeMap ( ) ; if ( arg0 == null ) { return loc0 ; } for ( Map . Entry < String , Object > loc1 : arg0 . entrySet ( ) ) { addEntry ( loc0 , loc1 . getKey ( ) , loc1 . getValue ( ) ) ; } return loc0 ; }
this method converts a map into a nativemap . value types are supported as with makenativearray . the best way to think of this is a way to generate a java representation of a json object , from java types which have a natural representation in json . concode_field_sep PlaceHolder placeHolder concode_field_sep void addEntry concode_elem_sep WritableNativeArray makeNativeArray concode_elem_sep WritableNativeArray makeNativeArray concode_elem_sep Object makeNativeObject