Treat ipynb as json (#135137)

Fixes #110727

NOKEYCHECK=True
GitOrigin-RevId: c893f1d18da6547027648f44592f61c08570d80f
diff --git a/ClangFormat.cpp b/ClangFormat.cpp
index 2861005..c45e3a2 100644
--- a/ClangFormat.cpp
+++ b/ClangFormat.cpp
@@ -88,7 +88,7 @@
              "  CSharp: .cs\n"
              "  Java: .java\n"
              "  JavaScript: .js .mjs .cjs .ts\n"
-             "  Json: .json\n"
+             "  Json: .json .ipynb\n"
              "  Objective-C: .m .mm\n"
              "  Proto: .proto .protodevel\n"
              "  TableGen: .td\n"
diff --git a/clang-format-diff.py b/clang-format-diff.py
index aebe193..c82b41e 100755
--- a/clang-format-diff.py
+++ b/clang-format-diff.py
@@ -63,7 +63,7 @@
         "-iregex",
         metavar="PATTERN",
         default=r".*\.(?:cpp|cc|c\+\+|cxx|cppm|ccm|cxxm|c\+\+m|c|cl|h|hh|hpp"
-        r"|hxx|m|mm|inc|js|ts|proto|protodevel|java|cs|json|s?vh?)",
+        r"|hxx|m|mm|inc|js|ts|proto|protodevel|java|cs|json|ipynb|s?vh?)",
         help="custom pattern selecting file paths to reformat "
         "(case insensitive, overridden by -regex)",
     )
diff --git a/git-clang-format b/git-clang-format
index b81077a..f907168 100755
--- a/git-clang-format
+++ b/git-clang-format
@@ -116,7 +116,8 @@
             "cjs",  # JavaScript
             "ts",  # TypeScript
             "cs",  # C Sharp
-            "json",  # Json
+            "json",
+            "ipynb",  # Json
             "sv",
             "svh",
             "v",