Lines Matching refs:Marshaler

56 	marshaler = Marshaler{}
58 marshalerAllOptions = Marshaler{
410 marshaler Marshaler
421 {"enum-string flat object", Marshaler{},
423 {"enum-value pretty object", Marshaler{EnumsAsInts: true, Indent: " "},
427 {"repeated proto3 enum", Marshaler{},
433 {"repeated proto3 enum as int", Marshaler{EnumsAsInts: true},
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}`},
457 …{"map<string, enum as int>", Marshaler{EnumsAsInts: true}, &pb.Mappy{Enumy: map[string]pb.Numeral{…
469 {"force orig_name", Marshaler{OrigName: true}, &pb.Simple{OInt32: proto.Int32(4)},
548 m := &Marshaler{}
585 str, err := new(Marshaler).MarshalToString(&msg)
600 str, err := new(Marshaler).MarshalToString(a)
613 marshaler := Marshaler{Indent: " "}
637 js, err := new(Marshaler).MarshalToString(&msg)
654 marshaler *Marshaler
659 marshaler: &Marshaler{},
664 marshaler: &Marshaler{EmitDefaults: true},
669 marshaler: &Marshaler{},
674 marshaler: &Marshaler{EmitDefaults: true},
679 marshaler: &Marshaler{},
684 marshaler: &Marshaler{EmitDefaults: true},
689 marshaler: &Marshaler{},
694 marshaler: &Marshaler{},
703 marshaler: &Marshaler{},
713 marshaler: &Marshaler{},
720 marshaler: &Marshaler{},
1008 m := Marshaler{AnyResolver: resolver}
1149 func (m *dynamicMessage) MarshalJSONPB(jm *Marshaler) ([]byte, error) {