Lines Matching refs:Marshaler
56 marshaler = Marshaler{}
58 marshalerAllOptions = Marshaler{
342 marshaler Marshaler
353 {"enum-string flat object", Marshaler{},
355 {"enum-value pretty object", Marshaler{EnumsAsInts: true, Indent: " "},
359 {"repeated proto3 enum", Marshaler{},
365 {"repeated proto3 enum as int", Marshaler{EnumsAsInts: true},
372 {"empty value emitted", Marshaler{EmitDefaults: true}, &pb.Simple3{}, `{"dub":0}`},
373 {"empty repeated emitted", Marshaler{EmitDefaults: true}, &pb.SimpleSlice3{}, `{"slices":[]}`},
374 {"empty map emitted", Marshaler{EmitDefaults: true}, &pb.SimpleMap3{}, `{"stringy":{}}`},
375 {"nested struct null", Marshaler{EmitDefaults: true}, &pb.SimpleNull3{}, `{"simple":null}`},
390 …{"map<string, enum as int>", Marshaler{EnumsAsInts: true}, &pb.Mappy{Enumy: map[string]pb.Numeral{…
402 {"force orig_name", Marshaler{OrigName: true}, &pb.Simple{OInt32: proto.Int32(4)},
468 str, err := new(Marshaler).MarshalToString(&msg)
483 str, err := new(Marshaler).MarshalToString(a)
782 func (m *dynamicMessage) MarshalJSONPB(jm *Marshaler) ([]byte, error) {