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

EVAL command #53

Open
andykais opened this issue May 26, 2020 · 0 comments
Open

EVAL command #53

andykais opened this issue May 26, 2020 · 0 comments

Comments

@andykais
Copy link
Owner

There are times when data is sent up inside a js file. It is tricky to get this data out of there with just a regex replace & json parser. Suggesting a command like so:

EVAL 'some_data_object.data'

where value is evaled and then the code supplied is executed and the resulting value is JSON.stringified. Alternatively we could create a PARSE 'some_data_object.data' FORMAT='js' which would function largely in the same way

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

No branches or pull requests

1 participant