title: select2: custom matcher - search through data array
body: <p>I'm struggling with <strong>select2</strong>.</p>
  
  <p>Given this example json data:</p>
  
  <pre><code>{"id":1,"text":"search term category","data":[{"Key":"catalog","Value":"search term catalog"},{"Key":"make","Value":"search term make"},{"Key":"model","Value":"search term model"}]}
  </code></pre>
  
  <p>How can I search through not only the  <strong>"text"</strong> field but  all <strong>"value"</strong> fields in the <strong>data array</strong>?</p>
  
  <p>I read about <strong>custom matcher</strong> but could not get it to work nor could I find an example I could work with.</p>
  
  <p>Hope you can help me or provide me with a sample.</p>
  
  <p>Thank you.</p>
  
  <p>EDIT: Fiddle: <a href="http://jsfiddle.net/b85swr3b/" rel="nofollow noreferrer">jsfiddle</a></p>