Esempio n. 1
0
 internal static List <T> ConvertDataTable <T>(string jsonString, bool ignore)
 {
     try
     {
         var _dataTable = ConvertToDatatable.JsonToDataTable(jsonString);
         var _list      = ConvertDataTable <T>(_dataTable, false);
         return(_list);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="json"></param>
        /// <returns></returns>
        public static DataTable ToDataTable(string json)
        {
            var _dataTable = ConvertToDatatable.JsonToDataTable(json);

            return(_dataTable);
        }