class_docstr: SlackOutput handles all alert dispatching for Slack
class_docstr_tok: ["SlackOutput","handles","all","alert","dispatching","for","Slack"]
docstr: Translate a json object into a more human-readable list of lines
  This will handle recursion of all nested maps and lists within the object
  
  Args:
      json_values: variant to be translated (could be json map, list, etc)
      indent_count (int): Number of tabs to prefix each line with
  
  Returns:
      list: strings that have been properly tabbed and formatted for printing
docstr_tok: ["Translate","a","json","object","into","a","more","human-readable","list","of","lines","This","will","handle","recursion","of","all","nested","maps","and","lists","within","the","object","Args",":","json_values",":","variant","to","be","translated","(","could","be","json","map",",","list",",","etc",")","indent_count","(","int",")",":","Number","of","tabs","to","prefix","each","line","with","Returns",":","list",":","strings","that","have","been","properly","tabbed","and","formatted","for","printing"]
code: def _json_to_slack_mrkdwn(cls, json_values, indent_count):
      """Translate a json object into a more human-readable list of lines
      This will handle recursion of all nested maps and lists within the object
  
      Args:
          json_values: variant to be translated (could be json map, list, etc)
          indent_count (int): Number of tabs to prefix each line with
  
      Returns:
          list: strings that have been properly tabbed and formatted for printing
      """
      tab = "\t"
      all_lines = []
      if isinstance(json_values, dict):
          all_lines = cls._json_map_to_text(
              json_values, tab, indent_count
          )
      elif isinstance(json_values, list):
          all_lines = cls._json_list_to_text(
              json_values, tab, indent_count
          )
      else:
          all_lines.append("{}".format(json_values))
  
      return all_lines
  
file_path: streamalert/streamalert/alert_processor/outputs/slack.py
imports: import html
  from collections import OrderedDict
  from streamalert.alert_processor.helpers import compose_alert, elide_string_middle
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, OutputRequestFailure, StreamAlertOutput
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 7 for calling the SlackOutput obj's underlying member method code with example usage: obj._json_to_slack_mrkdwn(cls, json_values, indent_count) and returns: all_lines