Class AsciiJsonWriter

java.lang.Object
java.io.Writer
net.handle.util.AsciiJsonWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class AsciiJsonWriter extends Writer
Class which wraps another Writer in order to write only ASCII. Non-ASCII characters are JSON-encoded as \u####. Suggested for use with Gson as in
     gson.toJson(json, new AsciiJsonWriter(new BufferedWriter(writer)));