Fix not writing value to JsonWriter in example.

This commit is contained in:
Eric Cochran
2017-09-25 13:02:36 -04:00
committed by GitHub
parent e8a2596841
commit eed3295495

View File

@@ -88,7 +88,7 @@ final class Unwrap {
} }
@Override public void toJson(JsonWriter writer, Object value) throws IOException { @Override public void toJson(JsonWriter writer, Object value) throws IOException {
delegate.toJson(new Envelope<>(value)); delegate.toJson(writer, new Envelope<>(value));
} }
} }
} }