Lines Matching defs:Marshaler
64 type Marshaler struct { struct
66 EnumsAsInts bool
69 EmitDefaults bool
75 Indent string
78 OrigName bool
84 AnyResolver AnyResolver
114 MarshalJSONPB(*Marshaler) ([]byte, error)
129 func (m *Marshaler) Marshal(out io.Writer, pb proto.Message) error {
143 func (m *Marshaler) MarshalToString(pb proto.Message) (string, error) {
174 func (m *Marshaler) marshalObject(out *errWriter, v proto.Message, indent, typeURL string) error {
402 func (m *Marshaler) writeSep(out *errWriter) {
410 func (m *Marshaler) marshalAny(out *errWriter, any proto.Message, indent string) error {
464 func (m *Marshaler) marshalTypeURL(out *errWriter, indent, typeURL string) error {
482 …haler) marshalField(out *errWriter, prop *proto.Properties, v reflect.Value, indent string) error {
500 …haler) marshalValue(out *errWriter, prop *proto.Properties, v reflect.Value, indent string) error {