public void AddNewJSONRoot() { CJSONRoot temp = new CJSONRoot(); JSONRoot.Add(temp); CurrentRootIndex = JSONRoot.Count - 1; JSONRoot[CurrentRootIndex].JSONData = new List <CJSONData>(); }
public void AddJSONDataRow(string aKey, string aValue) { CJSONRoot temp = new CJSONRoot(); JSONRoot.Add(temp); CurrentRootIndex = JSONRoot.Count - 1; JSONRoot[CurrentRootIndex].JSONData = new List <CJSONData>(); AddNewJSONItem(aKey, aValue); }