func (store *Store) UnmarshalJSON(b []byte) error {
	s := &plainStore{}
	if err := json.Unmarshal(b, s); err != nil {
		return err
	}
	store.users = s.Users
	store.roles = s.Roles
	store.inputs = s.Inputs
	store.indexSets = s.IndexSets
	store.defaultIndexSetID = s.DefaultIndexSetID
	store.streams = s.Streams
	store.streamRules = s.StreamRules
	store.alertConditions = s.AlertConditions
	store.tokens = s.Tokens
	return nil
}
// UnmarshalJSON is the implementation of the json.Unmarshaler interface.
UnmarshalJSON is the implementation of the json.Unmarshaler interface.
// UnmarshalJSON is the implementation of the json . Unmarshaler interface .
func (store *Store) UnmarshalJSON(b []byte) error {
	s := &plainStore{}
	if err := json.Unmarshal(b, s); err != nil {
		return err
	}
	store.users = s.Users
	store.roles = s.Roles
	store.inputs = s.Inputs
	store.indexSets = s.IndexSets
	store.defaultIndexSetID = s.DefaultIndexSetID
	store.streams = s.Streams
	store.streamRules = s.StreamRules
	store.alertConditions = s.AlertConditions
	store.tokens = s.Tokens
	return nil
}
func ( store * Store ) UnmarshalJSON ( b [ ] byte ) error { s := & plainStore { } if err := json . Unmarshal ( b , s ) ; err != nil { return err } store . users = s . Users store . roles = s . Roles store . inputs = s . Inputs store . indexSets = s . IndexSets store . defaultIndexSetID = s . DefaultIndexSetID store . streams = s . Streams store . streamRules = s . StreamRules store . alertConditions = s . AlertConditions store . tokens = s . Tokens return nil }
UnmarshalJSON is the implementation of the json.Unmarshaler interface.
UnmarshalJSON is the implementation of the json . Unmarshaler interface .