Closed VladislavNekto closed 1 year ago
There i currently no option for that You have to pass this option into every decode
call. The default handling is handled here.
Also as a reminder its impotant to know that atoms are not garbage collected in the BEAM and this could pose a attack vector when there is user input data input involved.
@dennym pretty much covered it. An alternative could be to make a wrapper module around Jason
that passes the required options and use that, rather than Jason
directly. But yes, there's no global option to do this.
For the future - please use the elixir forum or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only. Thank you.
How to do this