This topic has not yet been rated - Rate this topic

JsonType Enumeration

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)
public enum JsonType
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.

The primitive JSON CLR types are Boolean, Number, and String.

The structured JSON CLR types are Array and Object.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ