From 61b8b75c30b8f85be1d48b257a1f501c8e9f6827 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 20 Mar 2018 14:41:27 +0900 Subject: [PATCH] ing --- encoding/json/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding/json/json.go b/encoding/json/json.go index d0e8371..6cf407c 100644 --- a/encoding/json/json.go +++ b/encoding/json/json.go @@ -42,7 +42,7 @@ func SetValueWithJSONStringArray(raw []byte, targets []interface{}) error { return fmt.Errorf("Type conversion of value[%s] has been failed to %s[%d]", value, reflect.TypeOf(target).Elem().Kind(), indexI) } - target = cv + reflect.ValueOf(target).Elem().Set(reflect.ValueOf(cv)) } }