<PackageReference Include="newtonsoft.json" Version="4.0.1" />

JProperty

public class JProperty : JContainer
Represents a JSON property.
public string Name { get; }

Gets the property name.

public JToken Value { get; set; }

Gets or sets the property value.

public JProperty(JProperty other)

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

public JProperty(string name, object[] content)

Initializes a new instance of the JProperty class.

public JProperty(string name, object content)

Initializes a new instance of the JProperty class.

public static JProperty Load(JsonReader reader)

Loads an JProperty from a JsonReader.