I'm saving an object with methods but when I give JSON.stringify(obj)
it does not save the functions.
I would like to save them for when I give a JSON.parse(str)
it returns me the methods of the object as well.
Does not JSON support functions?