Searched refs:Unmarshaler (Results 1 – 3 of 3) sorted by relevance
/external/golang-protobuf/jsonpb/ |
D | jsonpb_test.go | 734 unmarshaler Unmarshaler 738 {"simple flat object", Unmarshaler{}, simpleObjectInputJSON, simpleObject}, 739 {"simple pretty object", Unmarshaler{}, simpleObjectInputPrettyJSON, simpleObject}, 740 {"repeated fields flat object", Unmarshaler{}, repeatsObjectJSON, repeatsObject}, 741 {"repeated fields pretty object", Unmarshaler{}, repeatsObjectPrettyJSON, repeatsObject}, 742 {"nested message/enum flat object", Unmarshaler{}, complexObjectJSON, complexObject}, 743 {"nested message/enum pretty object", Unmarshaler{}, complexObjectPrettyJSON, complexObject}, 744 …{"enum-string object", Unmarshaler{}, `{"color":"BLUE"}`, &pb.Widget{Color: pb.Widget_BLUE.Enum()}… 745 …{"enum-value object", Unmarshaler{}, "{\n \"color\": 2\n}", &pb.Widget{Color: pb.Widget_BLUE.Enum(… 746 …{"unknown field with allowed option", Unmarshaler{AllowUnknownFields: true}, `{"unknown": "foo"}`,… [all …]
|
D | jsonpb.go | 125 UnmarshalJSONPB(*Unmarshaler, []byte) error argument 668 type Unmarshaler struct { struct 683 func (u *Unmarshaler) UnmarshalNext(dec *json.Decoder, pb proto.Message) error { argument 697 func (u *Unmarshaler) Unmarshal(r io.Reader, pb proto.Message) error { argument 706 return new(Unmarshaler).UnmarshalNext(dec, pb) 713 return new(Unmarshaler).Unmarshal(r, pb) 720 return new(Unmarshaler).Unmarshal(strings.NewReader(str), pb) 725 func (u *Unmarshaler) unmarshalValue(target reflect.Value, inputValue json.RawMessage, prop *proto.… argument
|
/external/golang-protobuf/proto/ |
D | decode.go | 312 type Unmarshaler interface { interface 339 if u, ok := pb.(Unmarshaler); ok { 355 if u, ok := pb.(Unmarshaler); ok { 403 if u, ok := pb.(Unmarshaler); ok {
|