Beispiel #1
0
 public DataParser(String Data)
 {
     ToParse         = Data;
     Parsed          = new List <string>();
     AuthorsReturned = new List <Author>();
     LUISParsed      = new LUISData();
 }
Beispiel #2
0
 public void LUISParse()
 {
     // Deserialize the string into a LUISData structure
     try
     {
         LUISParsed = new JavaScriptSerializer().Deserialize <LUISData>(@ToParse);
     }
     catch (Exception e) { string exception = e.Message; }
 }