JsonPrimitive Constructor (Char)
Silverlight
Initializes a new instance of a JsonPrimitive type with a Char type.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Parameters
- value
- Type: System.Char
The Char object that initializes the new instance.
A JsonPrimitive object stores a JsonType and the value used to initialize it. When initialized with a Char object, the JsonType is a String, which can be recovered using the JsonType property. The value used to initialize the JsonPrimitive object can be recovered using the ToString() method.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.