I think it would be neat to allow for custom parsing functions - this would allow e.g. to dump function source code in a JSON file which then could be encoded into a function again during parsing.
As this is not part of the official JSON implementation we should not implement it in this lib, but we should allow people to use hooks for this, see e.g. how the python implementation of JSON solves this https://docs.python.org/3/library/json.html#json.JSONEncoder as an inspiration
I think it would be neat to allow for custom parsing functions - this would allow e.g. to dump function source code in a JSON file which then could be encoded into a function again during parsing. As this is not part of the official JSON implementation we should not implement it in this lib, but we should allow people to use hooks for this, see e.g. how the python implementation of JSON solves this https://docs.python.org/3/library/json.html#json.JSONEncoder as an inspiration