gen/praxisgen/main.go
func unmarshal(path string, target *map[string]interface{}) error {
	content, err := loadFile(path)
	if err != nil {
		return fmt.Errorf("Failed to load media type JSON from '%s': %s", path, err)
	}
	err = json.Unmarshal(content, target)
	if err != nil {
		return fmt.Errorf("Cannot unmarshal JSON read from '%s': %s", path, err)
	}
	return nil
}
func unmarshal(path string, target *map[string]interface{}) error {
	content, err := loadFile(path)
	if err != nil {
		return fmt.Errorf("Failed to load media type JSON from '%s': %s", path, err)
	}
	err = json.Unmarshal(content, target)
	if err != nil {
		return fmt.Errorf("Cannot unmarshal JSON read from '%s': %s", path, err)
	}
	return nil
}
// Helper method that loads file file content and (JSON) unmarshals it into target