(in []byte, v interface{})
| 505 | } |
| 506 | |
| 507 | func unmarshalValue(in []byte, v interface{}) (protoreflect.Value, error) { |
| 508 | err := json.Unmarshal(in, v) |
| 509 | return protoreflect.ValueOf(reflect.ValueOf(v).Elem().Interface()), err |
| 510 | } |
| 511 | |
| 512 | func unquoteString(in string) (out string, err error) { |
| 513 | err = json.Unmarshal([]byte(in), &out) |
no test coverage detected