public JSONObject GetPreviousObject() { if (this.Index == -1) { return this; } else if (this.Index == 0) { return this.Parent; } else { return GetLastObject(this.Parent.ChildJSONObjects[this.Index - 1]); } }