Ejemplo n.º 1
0
        public bool ParseFileAtPath(string filePath)
        {
            NSFileManager fileManager = new NSFileManager();

            if (!fileManager.FileExists(filePath))
            {
                fileManager.Dispose();
                fileManager = null;
                return(false);
            }
            string     text  = File.ReadAllText(filePath);
            RootObject model = JsonConvert.DeserializeObject <RootObject>(text);

            rdoModelObj = model;
            //Console.WriteLine("Count "+ rdoModelObj.page[0].srdo.Count);
            fileManager.Dispose();
            fileManager = null;
            return(true);
        }