title: selectize js use array as source
body: <p>Hi I am getting back a JSON encoded array ("html") from my Ajax call that I would like to add in the selectize as both value and text (I am using a tag) . 
  How can I do that ?</p>
  
  <p>HTML </p>
  
  <pre><code>&lt;input type="text" value="test" class="demo-default selectized" id="input-tags" tabindex="-1" style="display: block;"&gt;
  </code></pre>
  
  <p>JQUERY</p>
  
  <pre><code>try {
      data = $.parseJSON(html);
  var obj = jQuery.parseJSON(html);
  
  outcome = (obj.outcome);
  
  $('#input-tags').selectize({
              delimiter: ',',
              persist: false,
              maxItems: 1,
              create: function (input) {
                  return {
                      value: input,
                      text: input
                  }
              }
          });
  </code></pre>
  
  <p>}</p>