code: func getJSONObjectFromLabel(labels map[string]string, label string, value interface{}) (bool, error) {
  	if strValue, found := labels[label]; found {
  		err := json.Unmarshal([]byte(strValue), value)
  		return found, err
  	}
  	// If the label is not found, return not found.
  	return false, nil
  }
docs: // getJSONObjectFromLabel returns a bool value indicating whether an object is found.