Questions tagged as 'parse'

0
answers

Saving object methods in JSON

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...
asked by 20.12.2018 / 19:26