Take this object:
x = { \"key1\": \"xxx\", \"key2\": function(){return this.key1} }
If I do this:
y = JSON.parse( JSON.st
To my knowledge, there are no serialization libraries that persist functions - in any language. Serialization is what one does to preserve data. Compilation is what one does to preserve functions.