浏览代码

jsonpb: Remove Marshaler.EnumsAsString.

This field is deprecated and no longer does anything.
David Symonds 10 年之前
父节点
当前提交
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.
 	// Whether to render enum values as integers, as opposed to string values.
 	EnumsAsInts bool
 	EnumsAsInts bool
 
 
-	// EnumsAsString is DEPRECATED and does nothing.
-	EnumsAsString bool
-
 	// A string to indent each level by. The presence of this field will
 	// A string to indent each level by. The presence of this field will
 	// also cause a space to appear between the field separator and
 	// also cause a space to appear between the field separator and
 	// value, and for newlines to be appear between fields and array
 	// value, and for newlines to be appear between fields and array