view Implab/JSON/JSONElementType.cs @ 55:c0bf853aa04f

Added initial JSON support +JSONParser +JSONWriter
author cin
date Sun, 15 Jun 2014 19:39:11 +0400
parents
children
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Implab.JSON {
    /// <summary>
    /// Тип элемента на котором находится парсер
    /// </summary>
    public enum JSONElementType {
        None,
        /// <summary>
        /// Начало объекта
        /// </summary>
        BeginObject,
        /// <summary>
        /// Конец объекта
        /// </summary>
        EndObject,
        /// <summary>
        /// Начало массива
        /// </summary>
        BeginArray,
        /// <summary>
        /// Конец массива
        /// </summary>
        EndArray,
        /// <summary>
        /// Простое значение
        /// </summary>
        Value
    }
}