Is there any way that I can pass a function as a json string (conversion with JSON.stringify), send it to another function, parse the json and then execute the function that
I created a fork of JSONfn which enables you to stringify and parse objects and their prototypes. In my basic tests it worked fine.
https://github.com/cgarciae/jsonfn