I get ajax response as JSON and need to fill a form with it. How to do that in jQuery or something else ? Is something better than using $(json).each() ?
$(json).each()
You might want to take a look at the jQuery Populate plugin.
Although if this is the only use case you have, you might as well do it manually.