Searched refs:EmitDefaults (Results 1 – 2 of 2) sorted by relevance
/external/golang-protobuf/jsonpb/ |
D | jsonpb_test.go | 440 {"empty value emitted", Marshaler{EmitDefaults: true}, &pb.Simple3{}, `{"dub":0}`}, 441 {"empty repeated emitted", Marshaler{EmitDefaults: true}, &pb.SimpleSlice3{}, `{"slices":[]}`}, 442 {"empty map emitted", Marshaler{EmitDefaults: true}, &pb.SimpleMap3{}, `{"stringy":{}}`}, 443 {"nested struct null", Marshaler{EmitDefaults: true}, &pb.SimpleNull3{}, `{"simple":null}`}, 664 marshaler: &Marshaler{EmitDefaults: true}, 674 marshaler: &Marshaler{EmitDefaults: true}, 684 marshaler: &Marshaler{EmitDefaults: true},
|
D | jsonpb.go | 69 EmitDefaults bool member 311 if !m.EmitDefaults {
|