I found root.json file in minecraft source code and I want to know what is root.json file in minecraft. I found minecraft source code with VS Code Decompiler extension.(For find minecraft source code, first go in the VS Code and download Decompiler extension and then open .minecraft folder and then open versions folder and then select your version folder and then decompile jar file with VS Code Decompiler extension.)
root.json file is datapack file.