All files
[pithos-ms-client] / trunk / Libraries / Json40r2 / Source / Src / Newtonsoft.Json / Linq / JTokenType.cs
1 #region License
2 // Copyright (c) 2007 James Newton-King
3 //
4 // Permission is hereby granted, free of charge, to any person
5 // obtaining a copy of this software and associated documentation
6 // files (the "Software"), to deal in the Software without
7 // restriction, including without limitation the rights to use,
8 // copy, modify, merge, publish, distribute, sublicense, and/or sell
9 // copies of the Software, and to permit persons to whom the
10 // Software is furnished to do so, subject to the following
11 // conditions:
12 //
13 // The above copyright notice and this permission notice shall be
14 // included in all copies or substantial portions of the Software.
15 //
16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 // OTHER DEALINGS IN THE SOFTWARE.
24 #endregion
25
26 namespace Newtonsoft.Json.Linq
27 {
28   /// <summary>
29   /// Specifies the type of token.
30   /// </summary>
31   public enum JTokenType
32   {
33     /// <summary>
34     /// No token type has been set.
35     /// </summary>
36     None,
37     /// <summary>
38     /// A JSON object.
39     /// </summary>
40     Object,
41     /// <summary>
42     /// A JSON array.
43     /// </summary>
44     Array,
45     /// <summary>
46     /// A JSON constructor.
47     /// </summary>
48     Constructor,
49     /// <summary>
50     /// A JSON object property.
51     /// </summary>
52     Property,
53     /// <summary>
54     /// A comment.
55     /// </summary>
56     Comment,
57     /// <summary>
58     /// An integer value.
59     /// </summary>
60     Integer,
61     /// <summary>
62     /// A float value.
63     /// </summary>
64     Float,
65     /// <summary>
66     /// A string value.
67     /// </summary>
68     String,
69     /// <summary>
70     /// A boolean value.
71     /// </summary>
72     Boolean,
73     /// <summary>
74     /// A null value.
75     /// </summary>
76     Null,
77     /// <summary>
78     /// An undefined value.
79     /// </summary>
80     Undefined,
81     /// <summary>
82     /// A date value.
83     /// </summary>
84     Date,
85     /// <summary>
86     /// A raw JSON value.
87     /// </summary>
88     Raw,
89     /// <summary>
90     /// A collection of bytes value.
91     /// </summary>
92     Bytes
93   }
94 }