[ "Choice1", "Choice2" ]
[ { label: "Choice1", value: "value1" }, ... ]
$('input').autocomplete({source: [ "Choice1", "Choice2" ], minLength: 0});
$('input').autocomplete({source: [ { label: "Choice1", value: "value1" } ], minLength: 0});
var source = '[ "Choice1", "Choice2" ]';
$('input').autocomplete({source: source, minLength: 0});
$('input').autocomplete({source: $('input').data('json'), minLength: 0});
$('input').autocomplete({source: eval($('input').attr('data-json')), minLength: 0});
var source = '[ "Choice1", "Choice2" ]';
var source = [ "Choice1", "Choice2" ];
var source = JSON.parse( '[ "Choice1", "Choice2" ]' );
var source = $.parseJSON( '[ "Choice1", "Choice2" ]' );
[ { label: "Choice1", value: "value1" }, ... ]
[ { "label": "Choice1", "value": "value1" }, { "label": "Choice2", "value": "value2" },...]