public JSONMaker(int numberOfValues, string path) { numofvals = numberOfValues; this.path = path; jwr = new Writer.JsonWriter(numofvals); makeFile(); }
/// <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(); }
public JSONMaker(Object list, string path) { this.path = path; jwr = new Writer.JsonWriter(list); MakeList(); }