We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc41e78 commit b5beba3Copy full SHA for b5beba3
ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java
@@ -700,7 +700,7 @@ public static IRubyObject encodeJson(
700
options.fastARef(runtime.newSymbol("format_enums_as_integers"));
701
702
if (emitDefaults != null && emitDefaults.isTrue()) {
703
- printer = printer.includingDefaultValueFields();
+ printer = printer.alwaysPrintFieldsWithNoPresence();
704
}
705
706
if (preserveNames != null && preserveNames.isTrue()) {
0 commit comments