diff --git a/src/main/java/com/fasterxml/jackson/core/filter/FilteringGeneratorDelegate.java b/src/main/java/com/fasterxml/jackson/core/filter/FilteringGeneratorDelegate.java index 98ac55777b..dea56c0587 100644 --- a/src/main/java/com/fasterxml/jackson/core/filter/FilteringGeneratorDelegate.java +++ b/src/main/java/com/fasterxml/jackson/core/filter/FilteringGeneratorDelegate.java @@ -505,7 +505,7 @@ public void writeRaw(char c) throws IOException public void writeRawValue(String text) throws IOException { if (_checkRawValueWrite()) { - delegate.writeRaw(text); + delegate.writeRawValue(text); } } @@ -513,7 +513,7 @@ public void writeRawValue(String text) throws IOException public void writeRawValue(String text, int offset, int len) throws IOException { if (_checkRawValueWrite()) { - delegate.writeRaw(text, offset, len); + delegate.writeRawValue(text, offset, len); } } @@ -521,7 +521,7 @@ public void writeRawValue(String text, int offset, int len) throws IOException public void writeRawValue(char[] text, int offset, int len) throws IOException { if (_checkRawValueWrite()) { - delegate.writeRaw(text, offset, len); + delegate.writeRawValue(text, offset, len); } }