[jQuery] how to bind a form to json data

[jQuery] how to bind a form to json data

hello,
I know how to make a form return json, but how can I bind a form to json, so that all textfields, selects etc. show the correct value?
<form>
<input type="text" name="id">
<select name="choice">
<option value="one">one</select>
<option value="two">two</select>
</select>
<form>
then I get from somewhere
<pre>[{"id":1,"Choice":"two"}]
Then the form should get into this state:
</pre>
<form>
<input type="text" name="id" value="1">
<select name="choice">
<option value="one">one</select>
<option value="two" selected="selected">two</select>
</select>
<form>
Is this implemented somewhere?<br clear="all">
--
Jan
___________________
<a href="mailto:jan@limpens.com">jan@limpens.com</a>
<a href="http://www.limpens.com">www.limpens.com</a>
+55 (11) 3082-1087
+55 (11) 3097-8339