parameters: (ctu_conf_json)
return_statement: return CtuConfig(collect=ctu_config[0],
                       analyze=ctu_config[1],
                       dir=ctu_config[2],
                       func_map_cmd=ctu_config[3])
docstring: CTU configuration is created from the chosen phases and dir.
docstring_summary: CTU configuration is created from the chosen phases and dir.
docstring_tokens: CTU configuration is created from the chosen phases and dir .
function: def get_ctu_config_from_json(ctu_conf_json):
      """ CTU configuration is created from the chosen phases and dir. """
  
      ctu_config = json.loads(ctu_conf_json)
      # Recover namedtuple from json when coming from analyze-cc or analyze-c++
      return CtuConfig(collect=ctu_config[0],
                       analyze=ctu_config[1],
                       dir=ctu_config[2],
                       func_map_cmd=ctu_config[3])
function_tokens: def get_ctu_config_from_json ( ctu_conf_json ) : ctu_config = json . loads ( ctu_conf_json ) # Recover namedtuple from json when coming from analyze-cc or analyze-c++ return CtuConfig ( collect = ctu_config [ 0 ] , analyze = ctu_config [ 1 ] , dir = ctu_config [ 2 ] , func_map_cmd = ctu_config [ 3 ] )