parameters: (obj, *fields)
docstring: for example a=[{"a": {"b": 2}}]
      walk_json_field_safe(a, 0, "a", "b") will get 2
      walk_json_field_safe(a, 0, "not_exist") will get None
docstring_summary: for example a=[{"a": {"b": 2}}]
      walk_json_field_safe(a, 0, "a", "b") will get 2
      walk_json_field_safe(a, 0, "not_exist") will get None
docstring_tokens: for example a = [ { a : { b : 2 }} ] walk_json_field_safe ( a 0 a b ) will get 2 walk_json_field_safe ( a 0 not_exist ) will get None
function: def walk_json_field_safe(obj, *fields):
      """ for example a=[{"a": {"b": 2}}]
      walk_json_field_safe(a, 0, "a", "b") will get 2
      walk_json_field_safe(a, 0, "not_exist") will get None
      """
      try:
          for f in fields:
              obj = obj[f]
          return obj
      except:
          return None
function_tokens: def walk_json_field_safe ( obj , * fields ) : try : for f in fields : obj = obj [ f ] return obj except : return None