Просмотр исходного кода

jsonpb: Remove Marshaler.EnumsAsString.

This field is deprecated and no longer does anything.
David Symonds 10 лет назад
Родитель
Сommit
8a5d8e8b13
1 измененных файлов с 0 добавлено и 3 удалено
  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