问题描述:在使用枚举值时,默认值是从0开始的,导致使用MessageToJsonString转成json字符串时,零值的字段不显示。 enum num { a = 0; b = 1; c = 2; }.
確定! 回上一頁