Beispiel #1
0
        private static JSONObject LoadProjectManifest()
        {
            string     manifestString = File.ReadAllText(RegistryToolSettings.Instance().ProjectManifestPath);
            JSONObject manifestJson   = JSONNode.Parse(manifestString).AsObject;

            return(manifestJson);
        }
Beispiel #2
0
        private static void Save(JSONObject newJson)
        {
            string jsonString = newJson.ToString(JSON_INDENT_SPACE_COUNT);

            File.WriteAllText(RegistryToolSettings.Instance().ProjectManifestPath, jsonString);
        }