Parcourir la source

jsonpb: Remove Marshaler.EnumsAsString.

This field is deprecated and no longer does anything.
David Symonds il y a 10 ans
Parent
commit
8a5d8e8b13
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      jsonpb/jsonpb.go

+ 0 - 3
jsonpb/jsonpb.go

@@ -62,9 +62,6 @@ type Marshaler struct {
 	// Whether to render enum values as integers, as opposed to string values.
 	EnumsAsInts bool
 
-	// EnumsAsString is DEPRECATED and does nothing.
-	EnumsAsString bool
-
 	// A string to indent each level by. The presence of this field will
 	// also cause a space to appear between the field separator and
 	// value, and for newlines to be appear between fields and array