select2 automatically select item for ajax call
<p>Is there a way to make select2 control auto select an item when ajax response contain extra data.</p>

<p>I want to implement my controller to in JsonResult mark item as exact  mach and then to select2 control automatic select that without opening drop n down.</p>

<p>From user prespecitve:
If user type in select2 textbox  string that exactly match item on controller. e.g. If user type in barcode and controller method find that bar-code.
Select2 control will immediately select that item without opening dropdown.</p>

<p>If user type in query that is not exactly match controller will return list of items without param exact and select2 will open dropdown to show user possible choice of items.</p>