Exemple #1
0
 public JSONMaker(int numberOfValues, string path)
 {
     numofvals = numberOfValues;
     this.path = path;
     jwr       = new Writer.JsonWriter(numofvals);
     makeFile();
 }
Exemple #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="JSONMaker"/> class.
        /// </summary>
        /// <param name="numberOfValues">The number of values.</param>
        /// <param name="names">The names.</param>
        /// <param name="values">The values.</param>
        /// <param name="path">The path to store file.</param>
        public JSONMaker(int numberOfValues, string[] names, string[] values, string path)
        {
            numofvals = numberOfValues;
            this.path = path;

            jwr = new Writer.JsonWriter(numofvals, names, values);
            //jwr.AddNames(names);
            //jwr.AddValues(values);
            jwr.start();
            makeFile();
        }
Exemple #3
0
 public JSONMaker(Object list, string path)
 {
     this.path = path;
     jwr       = new Writer.JsonWriter(list);
     MakeList();
 }