// UnmarshalJSON unmarshals the given bytes to the set of provided objects.
UnmarshalJSON unmarshals the given bytes to the set of provided objects.
// UnmarshalJSON unmarshals the given bytes to the set of provided objects .
func UnmarshalJSON(b []byte, objects ...interface{}) error {
	for _, obj := range objects {
		if err := json.Unmarshal(b, obj); err != nil {
			return err
		}
	}
	return nil
}
func UnmarshalJSON ( b [ ] byte , objects ... interface { } ) error { for _ , obj := range objects { if err := json . Unmarshal ( b , obj ) ; err != nil { return err } } return nil }
UnmarshalJSON unmarshals the given bytes to the set of provided objects.
UnmarshalJSON unmarshals the given bytes to the set of provided objects .