-
Notifications
You must be signed in to change notification settings - Fork 336
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
Pre-process Hooks #18
Comments
Can you explain your use case better? It's not very clear what you want this for, there may be better ways to do this already. |
For example, see #1 |
in my case, I'm looking for a way to avoid escaping some specific string values when encoding to JSON. see this example: what I'd like to see as an output is a JSON object with "hello": function(){ alert('Hi'); } |
@migajek that functionality won't be implemented, as the output is no longer JSON. |
It would be great, if there was a way to "override" or some "pre_process" hook to execute, before default is fired. Currently there is no way this can be acheieved. and pre processing the data before feeding it to simple json, makes it a 2 x Loop.
Basically, Its a collection of objects which need to Inflated using one dynamic variable. The collection is sort of cached, and is kin of large in number.
In the comment update you have mentioned, it will be too overhead to implement.
Is there any other workaround you suggest [ i might have missed in the documentation ]?
I really wish to avoid that 1 extra iteration.
The text was updated successfully, but these errors were encountered: