Exemplo n.º 1
0
 public DataParser(String Data)
 {
     ToParse         = Data;
     Parsed          = new List <string>();
     AuthorsReturned = new List <Author>();
     LUISParsed      = new LUISData();
 }
Exemplo n.º 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; }
 }