annotate Implab/JSON/JsonTokenType.cs @ 55:c0bf853aa04f

Added initial JSON support +JSONParser +JSONWriter
author cin
date Sun, 15 Jun 2014 19:39:11 +0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
1 using System;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
2 using System.Collections.Generic;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
3 using System.Linq;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
4 using System.Text;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
5 using System.Threading.Tasks;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
6
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
7 namespace Implab.JSON {
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
8 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
9 /// Тип токенов, возвращаемых <see cref="JSONScanner"/>.
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
10 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
11 public enum JsonTokenType : int {
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
12 None = 0,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
13 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
14 /// Начало объекта
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
15 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
16 BeginObject,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
17 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
18 /// Конец объекта
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
19 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
20 EndObject,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
21 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
22 /// Начало массива
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
23 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
24 BeginArray,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
25 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
26 /// Конец массива
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
27 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
28 EndArray,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
29 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
30 /// Строка
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
31 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
32 String,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
33 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
34 /// Число
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
35 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
36 Number,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
37 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
38 /// Литерал
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
39 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
40 Literal,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
41 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
42 /// Разделитель имени <c>:</c>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
43 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
44 NameSeparator,
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
45 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
46 /// Разделитель имени <c>,</c>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
47 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
48 ValueSeparator
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
49 }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
50 }