<PackageReference Include="Newtonsoft.Json" Version="4.5.9" />

JObject

Represents a JSON object.
public JToken this[string propertyName] { get; set; }

Gets or sets the JToken with the specified property name.

Occurs when a property value changes.

Occurs when a property value is changing.

public JObject()

Initializes a new instance of the JObject class.

public JObject(JObject other)

Initializes a new instance of the JObject class from another JObject object.

public JObject(object[] content)

Initializes a new instance of the JObject class with the specified content.

public JObject(object content)

Initializes a new instance of the JObject class with the specified content.

public static JObject FromObject(object o)

Creates a JObject from an object.

public static JObject FromObject(object o, JsonSerializer jsonSerializer)

Creates a JArray from an object.

public static JObject Load(JsonReader reader)

Loads an JObject from a JsonReader.

public static JObject Parse(string json)

Load a JObject from a string that contains JSON.

public void Add(string propertyName, JToken value)

Adds the specified property name.

Returns an enumerator that iterates through the collection.

protected virtual void OnPropertyChanged(string propertyName)

Raises the PropertyChanged event with the provided arguments.

protected virtual void OnPropertyChanging(string propertyName)

Raises the PropertyChanging event with the provided arguments.

Gets an IEnumerable<T> of this object's properties.

public JProperty Property(string name)

Gets a JProperty the specified name.

Gets an JEnumerable<T> of this object's property values.

public bool Remove(string propertyName)

Removes the property with the specified name.

public bool TryGetValue(string propertyName, out JToken value)

Tries the get value.