code: func StringMarshalJSON(data interface{}, indent string) string {
  	buffer, err := json.MarshalIndent(data, "", indent)
  	if err != nil {
  		return ""
  	}
  	return string(buffer)
  }
docs: // StringMarshalJSON marshals data to an indented string.