Add option to JSON encoder to skip string escaping #83

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@CapnSpellcheck

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
b5aad83
Owner
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