- public JsonWriter(final OutputStream writer) {
- this.writer = new BufferedWriter(new OutputStreamWriter(writer, StandardCharsets.UTF_8));
+ public JsonWriter(final OutputStream outputStream) {
+ this.writer = new BufferedWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8));