def METHOD_NAME():
    path = ["Records", 1]
    assert _format_json_path(path) == '"$..Records"'
    path = ["Records", 1, 1, 1]
    assert _format_json_path(path) == '"$..Records"'
    path = ["Records", 1, "SomeKey"]
    assert _format_json_path(path) == '"$..Records..SomeKey"'
    path = ["Records", 1, 1, "SomeKey"]
    assert _format_json_path(path) == '"$..Records..SomeKey"'
    path = ["Records", 1, 1, 0, "SomeKey"]
    assert _format_json_path(path) == '"$..Records..SomeKey"'
    path = ["Records", "SomeKey"]
    assert _format_json_path(path) == '"$..Records.SomeKey"'
    path = []
    assert _format_json_path(path) == '"$.."'
    path = [1, 1, 0, "SomeKey"]
    assert _format_json_path(path) == '"$..SomeKey"'