remove proto names (#1006)

pull/1012/head
Tony Chen 4 years ago committed by GitHub
parent 49064e7232
commit 5cbda8ebd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      encoding/json/json.go

@ -16,7 +16,6 @@ var (
// MarshalOptions is a configurable JSON format marshaler. // MarshalOptions is a configurable JSON format marshaler.
MarshalOptions = protojson.MarshalOptions{ MarshalOptions = protojson.MarshalOptions{
EmitUnpopulated: true, EmitUnpopulated: true,
UseProtoNames: true,
} }
// UnmarshalOptions is a configurable JSON format parser. // UnmarshalOptions is a configurable JSON format parser.
UnmarshalOptions = protojson.UnmarshalOptions{ UnmarshalOptions = protojson.UnmarshalOptions{

Loading…
Cancel
Save