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