Add option to JSON encoder to skip string escaping #83

wants to merge 1 commit into


None yet

2 participants


When encoding very large amounts of data, I found that a large amount of time could be saved by skipping the json_bin_is_safe checks since my code doesn't generate anything that would need to be escaped.

Julian Pellico Add safe_string_escaping option to encoder to skip string escaping in…
… the case you are sure you generate safe strings
etrepum commented Jul 10, 2014

There's {json, _} for this sort of use case, although you'd have to add the quotes yourself.

@etrepum etrepum closed this Jul 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment