|
|
@ -165,7 +165,7 @@ func Pb2Map(pb proto.Message) (map[string]interface{}, error) {
|
|
|
|
jsonbMarshaller := &jsonpb.Marshaler{
|
|
|
|
jsonbMarshaller := &jsonpb.Marshaler{
|
|
|
|
OrigName: true,
|
|
|
|
OrigName: true,
|
|
|
|
EnumsAsInts: true,
|
|
|
|
EnumsAsInts: true,
|
|
|
|
EmitDefaults: true,
|
|
|
|
EmitDefaults: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_ = jsonbMarshaller.Marshal(&_buffer, pb)
|
|
|
|
_ = jsonbMarshaller.Marshal(&_buffer, pb)
|
|
|
|
jsonCnt := _buffer.Bytes()
|
|
|
|
jsonCnt := _buffer.Bytes()
|
|
|
|