jQuey autocomplete with JSON source?

jQuey autocomplete with JSON source?

I'm checking out the autocomplete plugin at http://docs.jquery.com/UI/Autocomplete and REALLY like it.  I'm pretty new to jQuery and absolutely a virgin with JSON, so I'm in need of a kick in the pants to get me rolling. 

In the documentation at that site, I read that I can use a URL as source if it returns JSON data.  Cool.  Right now I have some other autocomplete plugin that stores the autocomplete data in a .js file like this:

  1. var terms = [
  2.     "landfill",
  3.     "GIS",
  4.     "schools",
  5.     "human resources",
  6.     "health department",
  7.     "animal shelter",
  8.     "dog tags",
  9.     "business license",
  10.     "Sheriff",
  11.     "marriage license",
  12.     "ach",
  13.     "animal control",
  14.     "zoning",
  15.     "Parks and Recreation",
  16.     "decals",
  17.     "sticker",
  18.     "Board of Supervisors",
  19.     "map",
  20.     "tax map",
  21.     "building permit",
  22.     "Commissioner of the Revenue",
  23.     "Treasurer",
  24.     "Shawneeland",
  25.     "Health Department website"
  26. ];

How could I do something like that with this plugin? 

Thanks in advance!

Jeremy