code: def _parse_svc_config(self, json_dic, view = None):
      
      svc_config = json_to_config(json_dic, view == 'full')
      rt_configs = { }
      if json_dic.has_key(ROLETYPES_CFG_KEY):
        for rt_config in json_dic[ROLETYPES_CFG_KEY]:
          rt_configs[rt_config['roleType']] = \
              json_to_config(rt_config, view == 'full')
  
      return (svc_config, rt_configs)
docs: Parse a json-decoded ApiServiceConfig dictionary into a 2-tuple.
  
      @param json_dic: The json dictionary with the config data.
      @param view: View to materialize.
      @return: 2-tuple (service config dictionary, role type configurations)