etcdserver/api/v2store/store.go
func (s *store) Save() ([]byte, error) {
	b, err := json.Marshal(s.Clone())
	if err != nil {
		return nil, err
	}

	return b, nil
}
func (s *store) Save() ([]byte, error) {
	b, err := json.Marshal(s.Clone())
	if err != nil {
		return nil, err
	}

	return b, nil
}
func ( s * store ) Save ( ) ( [ ] byte , error ) { b , err := json . Marshal ( s . Clone ( ) ) if err != nil { return nil , err } return b , nil }
// Save saves the static state of the store system.
// It will not be able to save the state of watchers.
// It will not save the parent field of the node. Or there will
// be cyclic dependencies issue for the json package.
Save saves the static state of the store system . It will not be able to save the state of watchers . It will not save the parent field of the node . Or there will be cyclic dependencies issue for the json package .