Exemplo n.º 1
0
        public void SerializeObject()
        {
            string serializedObject = jsonIO.SerializeObject(listInt);

            Assert.Equal("[\r\n  1\r\n]", serializedObject);
        }
Exemplo n.º 2
0
 public bool Save(ObservableCollection <TrainingItem> trainingSet, string pathToListTrainings)
 {
     return(fileIO.Save(jsonIO.SerializeObject(trainingSet), pathToListTrainings));
 }