165
|
1 namespace Implab.Formats.JSON {
|
163
|
2 /// <summary>
|
|
3 /// Тип токенов, возвращаемых <see cref="JSONScanner"/>.
|
|
4 /// </summary>
|
|
5 public enum JsonTokenType : int {
|
|
6 None = 0,
|
|
7 /// <summary>
|
|
8 /// Начало объекта
|
|
9 /// </summary>
|
|
10 BeginObject,
|
|
11 /// <summary>
|
|
12 /// Конец объекта
|
|
13 /// </summary>
|
|
14 EndObject,
|
|
15 /// <summary>
|
|
16 /// Начало массива
|
|
17 /// </summary>
|
|
18 BeginArray,
|
|
19 /// <summary>
|
|
20 /// Конец массива
|
|
21 /// </summary>
|
|
22 EndArray,
|
|
23 /// <summary>
|
|
24 /// Строка
|
|
25 /// </summary>
|
|
26 String,
|
|
27 /// <summary>
|
|
28 /// Число
|
|
29 /// </summary>
|
|
30 Number,
|
|
31 /// <summary>
|
|
32 /// Литерал
|
|
33 /// </summary>
|
|
34 Literal,
|
|
35 /// <summary>
|
|
36 /// Разделитель имени <c>:</c>
|
|
37 /// </summary>
|
|
38 NameSeparator,
|
|
39 /// <summary>
|
|
40 /// Разделитель имени <c>,</c>
|
|
41 /// </summary>
|
|
42 ValueSeparator
|
|
43 }
|
|
44 }
|