code: func ParsePrevResult(conf *types.NetConf) error {
  	if conf.RawPrevResult == nil {
  		return nil
  	}
  
  	resultBytes, err := json.Marshal(conf.RawPrevResult)
  	if err != nil {
  		return fmt.Errorf("could not serialize prevResult: %v", err)
  	}
  
  	conf.RawPrevResult = nil
  	conf.PrevResult, err = NewResult(conf.CNIVersion, resultBytes)
  	if err != nil {
  		return fmt.Errorf("could not parse prevResult: %v", err)
  	}
  
  	return nil
  }
docs: // ParsePrevResult parses a prevResult in a NetConf structure and sets
  // the NetConf's PrevResult member to the parsed Result object.