Lines Matching defs:Marshaler
63 type Marshaler struct { struct
65 EnumsAsInts bool
68 EmitDefaults bool
74 Indent string
77 OrigName bool
83 AnyResolver AnyResolver
113 MarshalJSONPB(*Marshaler) ([]byte, error)
128 func (m *Marshaler) Marshal(out io.Writer, pb proto.Message) error {
142 func (m *Marshaler) MarshalToString(pb proto.Message) (string, error) {
168 func (m *Marshaler) marshalObject(out *errWriter, v proto.Message, indent, typeURL string) error {
384 func (m *Marshaler) writeSep(out *errWriter) {
392 func (m *Marshaler) marshalAny(out *errWriter, any proto.Message, indent string) error {
446 func (m *Marshaler) marshalTypeURL(out *errWriter, indent, typeURL string) error {
464 …haler) marshalField(out *errWriter, prop *proto.Properties, v reflect.Value, indent string) error {
482 …haler) marshalValue(out *errWriter, prop *proto.Properties, v reflect.Value, indent string) error {