code: func (dec *Decoder) end() error {
  	switch dec.curr.Kind() {
  	case reflect.Struct:
  		if err := dec.findStructField(); err != nil {
  			return err
  		}
  	case reflect.Map:
  		// leave backward compatibility for access to maps by .
  		dec.traverseInMap(true)
  	}
  	return dec.decode()
  }
docs: // end finds the last field for decode its value correspondent