コード例 #1
0
        private void ProcessJson(SwaggerModel model)
        {
            structure = model;

            CreateRequests();
            CreateFolders();
            CreateFiles();
        }
コード例 #2
0
 private void LoadCompleted()
 {
     if (OnComplete != null)
     {
         JsonSerializerSettings setting = new JsonSerializerSettings();
         setting.ReferenceResolverProvider = ReferenceResolverProvider;
         structure = JsonConvert.DeserializeObject <SwaggerModel>(www.text, setting);
         OnComplete.Invoke(structure);
     }
 }