code: def _handle_special_yaml_cases(v):
      
      if "::" in v:
          out = {}
          for part in v.split("::"):
              k_part, v_part = part.split(":")
              out[k_part] = v_part.split(";")
          v = out
      elif ";" in v:
          # split lists and remove accidental empty values
          v = [x for x in v.split(";") if x != ""]
      elif isinstance(v, list):
          v = v
      else:
          try:
              v = int(v)
          except ValueError:
              if v.lower() == "true":
                  v = True
              elif v.lower() == "false":
                      v = False
      return v
docs: Handle values that pass integer, boolean, list or dictionary values.