Hello friends this is my code:
First Second
$("#first").select2('data') will return all data as map
$("#first").select2('data')