Added JSONArray.Add(IEnumerable<JSONValue>..)

master
Harald Wolff 2020-12-18 09:30:24 +01:00
parent 3beaaeec62
commit 2b807bcb73
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ namespace ln.json
set => values[index] = value;
}
public JSONArray Add(IEnumerable<JSONValue> values){ foreach (JSONValue value in values) this.values.Add(value); return this; }
public JSONArray Add(JSONValue value){ values.Add(value); return this; }
public JSONArray Remove(int index) { values.RemoveAt(index); return this; }