Subclass of NavMeshSerializer that implements serialization/deserializtion in text files with json format
Inheritance: NavMeshSerializer
        public void JsonSerializationTest()
        {
            var objModel = new ObjModel("nav_test.obj");
            TiledNavMesh mesh = NavMesh.Generate(objModel.GetTriangles(), NavMeshGenerationSettings.Default);
            new NavMeshJsonSerializer().Serialize("mesh.snj", mesh);

            TiledNavMesh deserializedMesh = new NavMeshJsonSerializer().Deserialize("mesh.snj");
        }
        public void JsonSerializationTest()
        {
            string objPath = Path.Combine(TestContext.CurrentContext.TestDirectory, "nav_test.obj");
            string snjPath = Path.Combine(TestContext.CurrentContext.TestDirectory, "mesh.snj");

            var objModel = new ObjModel(objPath);
            TiledNavMesh mesh = NavMesh.Generate(objModel.GetTriangles(), NavMeshGenerationSettings.Default);
            new NavMeshJsonSerializer().Serialize(snjPath, mesh);

            TiledNavMesh deserializedMesh = new NavMeshJsonSerializer().Deserialize(snjPath);
        }