code: func (s *Scheme) Decode(data []byte) (Object, error) {
  	obj, err := s.raw.Decode(data)
  	if err != nil {
  		return nil, err
  	}
  	return obj.(Object), nil
  }
docs: // Decode converts a YAML or JSON string back into a pointer to an api object.
  // Deduces the type based upon the APIVersion and Kind fields, which are set
  // by Encode. Only versioned objects (APIVersion != "") are accepted. The object
  // will be converted into the in-memory unversioned type before being returned.