API Reference
Class
JsonArray
Represents a mutable JSON array.
Inheritance
- Object
- JsonArray
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method JsonArray.Add
- Method JsonArray.Add
- Method JsonArray.Add
- Method JsonArray.Add
- Method JsonArray.Add
- Method JsonArray.AddRange
- Method JsonMapper.FromEnumerable
- Method JsonObject.GetArray
- Method JsonValue.AsArray
Accepted by parameters
- 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(JsonArray 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
Add(IntelligenceX.Json.JsonObject value) #Adds a JSON object to the array.
Parameters
- value IntelligenceX.Json.JsonObject
Add(IntelligenceX.Json.JsonArray value) #Adds a nested JSON array to the array.
Parameters
- value IntelligenceX.Json.JsonArray
AddRange 2 overloads
public JsonArray AddRange(IEnumerable<Object> values) #Returns:
JsonArrayAdds multiple JSON values to the array.
Parameters
- values System.Collections.Generic.IEnumerable{IntelligenceX.Json.JsonValue}
- Values to append.
AddRange(System.Collections.Generic.IEnumerable{System.Object} values) #Adds multiple CLR values to the array by mapping them to JSON values.
Parameters
- values System.Collections.Generic.IEnumerable{System.Object}
- Values to append.
public virtual IEnumerator<JsonValue> GetEnumerator() #Returns:
IEnumerator<JsonValue>Returns a typed enumerator over the array values.
System#Collections#IEnumerable#GetEnumerator() #Returns a non-generic enumerator over the array values.
Inherited Methods
Properties
public JsonValue Item { get; set; } #Gets or sets a value at the specified index.