Represents a JSON object.

Namespace: Newtonsoft.Json.Linq
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 6.0.0.0 (6.0.1.17001)

Syntax

C#
public class JObject : JContainer, IDictionary<string, JToken>, 
	ICollection<KeyValuePair<string, JToken>>, IEnumerable<KeyValuePair<string, JToken>>, 
	IEnumerable, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertyChanging

Examples

Parsing a JSON Object from Text Copy imageCopy
1      string json = @"{
2  CPU: 'Intel',
3  Drives: [
4    'DVD read/writer',
5    '500 gigabyte hard drive'
6  ]
7}";
8
9      JObject o = JObject.Parse(json);

Inheritance Hierarchy

See Also