Jar examples for j:json-sanitizer
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.
You can download jar file json-sanitizer 1.2.0 in this page.
Apache License, Version 2.0
You can use the following script to add json-sanitizer-1.2.0.jar to your project.
<dependency> <groupId>com.mikesamuel</groupId> <artifactId>json-sanitizer</artifactId> <version>1.2.0</version> </dependency>
compile group: 'com.mikesamuel', name: 'json-sanitizer', version: '1.2.0'
libraryDependencies += "com.mikesamuel" % "json-sanitizer" % "1.2.0"
<dependency org="com.mikesamuel" name="json-sanitizer" rev="1.2.0"/>
@Grapes(@Grab(group='com.mikesamuel', module='json-sanitizer', version='1.2.0'))
'com.mikesamuel:json-sanitizer:jar:1.2.0'
Click the following link to download the jar file.
json-sanitizer-1.2.0-javadoc.jar