Lines Matching refs:Unmarshal
136 if err = json.Unmarshal(b, &js); err != nil {
357 if err := proto.Unmarshal(val, msg); err != nil {
609 func (u *Unmarshaler) Unmarshal(r io.Reader, pb proto.Message) error { func
624 func Unmarshal(r io.Reader, pb proto.Message) error { func
625 return new(Unmarshaler).Unmarshal(r, pb)
632 return new(Unmarshaler).Unmarshal(strings.NewReader(str), pb)
667 if err := json.Unmarshal(inputValue, &jsonFields); err != nil {
677 if err := json.Unmarshal([]byte(*val), &turl); err != nil {
753 if err := json.Unmarshal(inputValue, &m); err != nil {
768 if err := json.Unmarshal(inputValue, &s); err != nil {
789 } else if err := json.Unmarshal(inputValue, &[]json.RawMessage{}); err == nil {
793 } else if err := json.Unmarshal(inputValue, &map[string]json.RawMessage{}); err == nil {
828 if err := json.Unmarshal(inputValue, &jsonFields); err != nil {
919 if err := json.Unmarshal(inputValue, &slc); err != nil {
937 if err := json.Unmarshal(inputValue, &mp); err != nil {