diff --git a/pkg/set/stringset.go b/pkg/set/stringset.go index fd638657a..2566a3df7 100644 --- a/pkg/set/stringset.go +++ b/pkg/set/stringset.go @@ -149,9 +149,6 @@ func (set StringSet) MarshalJSON() ([]byte, error) { } // UnmarshalJSON - parses JSON data and creates new set with it. -// If 'data' contains JSON string array, the set contains each string. -// If 'data' contains JSON string, the set contains the string as one element. -// If 'data' contains Other JSON types, JSON parse error is returned. func (set *StringSet) UnmarshalJSON(data []byte) error { sl := []interface{}{} var err error