code: func parseJSONTag(tag string) string {
  	if len(tag) == 0 {
  		return ""
  	}
  
  	if tag[:7] != "`json:\"" {
  		return ""
  	}
  
  	parts := strings.Split(tag[7:len(tag)-2], ",")
  
  	return parts[0]
  }
docs: // parseJSONTag parses the given JSON struct field tag, to get its name.
  // omitting fields via tags is not supported.