Indexed Artifacts (16.8M)

Popular Categories

Group: Mikesamuel

Sort: popular | newest

1. JSON Sanitizer32 usages

com.mikesamuel » json-sanitizerApache

Given JSON-like content, converts it to valid JSON. This can be attached at either end of a data-pipeline to help satisfy Postel's principle: be conservative in what you do, be liberal in what you accept from others Applied to JSON-like content from others, it will produce well-formed JSON that should satisfy any parser you use. Applied to your output before you send, it will coerce minor mistakes in encoding and make it easier to embed your JSON in HTML and XML.
Last Release on Jul 18, 2017
Prevents XSS by figuring out how to escape untrusted values in templates.
Last Release on Oct 2, 2016