Should I include OWASP json sanitizer?

839 views
Skip to first unread message

Andres Pontt

unread,
May 2, 2016, 5:00:53 PM5/2/16
to google-gson
Him

I was requested to include the OWASP json sanitizer to gson.fromJson function, anybody knows if GSON sanitize the string out of the box or this is something that I should include manually?

This is the sanitizer
https://www.owasp.org/index.php/OWASP_JSON_Sanitizer

Thanks in advance.

Jesse Wilson

unread,
May 2, 2016, 11:47:22 PM5/2/16
to google-gson
JsonPrettyprint.java can do it. I don’t think it makes sense as a standalone feature of the library.
Reply all
Reply to author
Forward
0 new messages