Example #1
0
        public void TestCreateFormRequestDeserialization()
        {
            try
            {
                string fileName = "DIYOnboardingForm.json";

                string json    = File.ReadAllText(fileName);
                var    request = Json.Deserialize <FormCreateRequest>(json);
                if (request != null)
                {
                    Logger.Info($"We read the form definition from ${fileName} and deserialized it");
                }
            }
            catch (Exception exc)
            {
                Logger.Error(ExceptionHelpers.Format(exc));
            }
        }