suppose there's a javascript object that looks something like this
foo = {a: 'string', b : 'number', c : "select 1 2 3"}
and is really a configuration (some sort of class description) for an object that holds actual values for a, b, c, that are of the type specified in the foo object.
Is there any piece of code (prefferably for jquery) that can read this and produce necessary forms/widgets for a webpage, so the user can finally produce an object like the following?
result = { a : "hello", b:5342, c:"2" }