Assigning flexform data from php class to jquery via json encoded string

Assigned all necessay data for jquery into an json encoded string and
output it in a hidden field in list view
Retrieving this json string in jquery and decode it (has to be tested)