Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add option to prevent parsing of data #1630

Closed
pahuta opened this issue Jan 31, 2020 · 0 comments · Fixed by #1631
Closed

Feature request: add option to prevent parsing of data #1630

pahuta opened this issue Jan 31, 2020 · 0 comments · Fixed by #1631

Comments

@pahuta
Copy link
Contributor

pahuta commented Jan 31, 2020

Issue type: Enhancements, Feature request

The JSON.parse() method accepts an optional the second param - reviver function, that can be used to perform a transformation on the resulting object before it is returned (MDN).

Will be nice to have possibility to use my own reviver function during parsing data of job. For example, it'll be useful when we use Date in data of job and would like to parse it exactly to JS Date, not to string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants