JsonObjectAdd(String, JsonValue) Method

Adds a pair of name and value to this JsonObject.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public void Add(
	string name,
	JsonValue value
)

Parameters

name  String
The name of the property to add to the JsonObject.
value  JsonValue
The value of the property to add to the JsonObject.

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)

Exceptions

See Also