JsonNodeJsonValueType Property

Get or Set the JSON type of the value. Once this has been set to anything other than Uninitialised or Null, it cannot be set again. The exceptions to this rule are that True can be changed to False and vice versa, and anything can be set to Null at any time. Setting from Null to Array or Object will result in Children being initialised to an empty node list.

Definition

Namespace: MichaelBrooks.UK.Json
Assembly: JsonDOM (in JsonDOM.dll) Version: 1.0.7
C#
public JsonValueType JsonValueType { get; set; }

Property Value

JsonValueType

Remarks

Exceptions

InvalidOperationExceptionThrown if attempt to set more than once.

See Also