Searched refs:preservingProtoFieldNames (Results 1 – 3 of 3) sorted by relevance
113 private final boolean preservingProtoFieldNames; field in JsonFormat.Printer118 boolean preservingProtoFieldNames) { in Printer() argument121 this.preservingProtoFieldNames = preservingProtoFieldNames; in Printer()134 return new Printer(registry, includingDefaultValueFields, preservingProtoFieldNames); in usingTypeRegistry()144 return new Printer(registry, true, preservingProtoFieldNames); in includingDefaultValueFields()153 public Printer preservingProtoFieldNames() { in preservingProtoFieldNames() method in JsonFormat.Printer168 new PrinterImpl(registry, includingDefaultValueFields, preservingProtoFieldNames, output) in appendTo()431 private final boolean preservingProtoFieldNames; field in JsonFormat.PrinterImpl443 boolean preservingProtoFieldNames, in PrinterImpl() argument447 this.preservingProtoFieldNames = preservingProtoFieldNames; in PrinterImpl()[all …]
1157 JsonFormat.printer().preservingProtoFieldNames().print(message)); in testPreservingProtoFieldNames()1164 JsonFormat.printer().preservingProtoFieldNames().print(messageWithCustomJsonName)); in testPreservingProtoFieldNames()
161 - Added a new option “preservingProtoFieldNames” to JsonFormat.