diff --git a/ln.json/JSONArray.cs b/ln.json/JSONArray.cs index 9358b14..27c6e03 100644 --- a/ln.json/JSONArray.cs +++ b/ln.json/JSONArray.cs @@ -37,6 +37,7 @@ namespace ln.json set => values[index] = value; } + public JSONArray Add(IEnumerable 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; }