// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. namespace System.Json { /// /// An enumeration that specifies primitive and structured JavaScript Object /// Notation (JSON) common language runtime (CLR) types. /// public enum JsonType { /// /// Specifies the JSON string CLR type. /// String, /// /// Specifies the JSON number CLR type. /// Number, /// /// 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 , which can, in turn, be either a /// primitive or a structured JSON type. /// Object, /// /// Specifies the JSON array CLR type that consists of an ordered collection of /// types, which can, in turn, be either /// primitive or structured JSON types. /// Array, /// /// Specifies the JSON Boolean CLR type. /// Boolean, /// /// Specifies the type returned by calls to /// or /// when the element searches doesn't exist in the JSON collection. This is a special /// value which does not represent any JSON element, and cannot be added to any /// JSON collections. /// Default } }