API Reference
Class
JsonArray
Represents a mutable JSON array.
Inheritance
- Object
- JsonArray
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Method JsonArray.Add
- Method JsonArray.AddRange
- Method JsonMapper.FromEnumerable
- Method JsonObject.GetArray
- Method JsonValue.AsArray
Accepted by parameters 6
- Method JsonArray.Add
- Extension method JsonObject.AddIfNotEmpty
- Method JsonObject.Add
- Method JsonObjectExtensions.AddIfNotEmpty
- Method JsonValue.From
- Method AppServerClient.StartTurnAsync
Constructors
public JsonArray() #Methods
Add 7 overloads
public JsonArray Add(JsonValue value) #Returns:
JsonArrayAdds a JSON value to the array.
Parameters
- value IntelligenceX.Json.JsonValue
public JsonArray Add(String? value) #Returns:
JsonArrayAdds a string value to the array.
Parameters
- value System.String?
public JsonArray Add(Boolean value) #Returns:
JsonArrayAdds a boolean value to the array.
Parameters
- value System.Boolean
public JsonArray Add(Int64 value) #Returns:
JsonArrayAdds an integer value to the array.
Parameters
- value System.Int64
public JsonArray Add(Double value) #Returns:
JsonArrayAdds a double value to the array.
Parameters
- value System.Double
public JsonArray Add(JsonObject value) #Returns:
JsonArrayAdds a JSON object to the array.
Parameters
- value IntelligenceX.Json.JsonObject
public JsonArray Add(JsonArray value) #Returns:
JsonArrayAdds a nested JSON array to the array.
Parameters
- value IntelligenceX.Json.JsonArray
AddRange 2 overloads
public JsonArray AddRange(IEnumerable<JsonValue> values) #Returns:
JsonArrayAdds multiple JSON values to the array.
Parameters
- values System.Collections.Generic.IEnumerable<IntelligenceX.Json.JsonValue>
- Values to append.
public JsonArray AddRange(IEnumerable<Object?> values) #Returns:
JsonArrayAdds multiple CLR values to the array by mapping them to JSON values.
Parameters
- values System.Collections.Generic.IEnumerable<System.Object?>
- Values to append.
public IEnumerator<JsonValue> GetEnumerator() #Returns:
IEnumerator<JsonValue>Returns a typed enumerator over the array values.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public JsonValue this[Int32 index] { get; set; } #Gets or sets a value at the specified index.
Parameters
- index System.Int32