JsonType Enumeration
Microsoft Silverlight will reach end of support after October 2021. Learn more.
An enumeration that specifies primitive and structured JavaScript Object Notation (JSON) common language runtime (CLR) types.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Enumeration JsonType
public enum JsonType
Members
Member name | Description | |
---|---|---|
String | Specifies the JSON string CLR type. | |
Number | Specifies the JSON number CLR type. | |
Object | Specifies the JSON object CLR type that consists of an unordered collection of key/value pairs, where the key is of type String and the value is of type JsonValue, which can, in turn, be either a primitive or a structured JSON type. | |
Array | Specifies the JSON array CLR type that consists of an ordered collection of JsonValue types, which can, in turn, be either primitive or structured JSON types. | |
Boolean | Specifies the JSON Boolean CLR type. |
Remarks
The primitive JSON CLR types are Boolean, Number, and String.
The structured JSON CLR types are Array and Object.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.