﻿namespace JDKing.JsonLite.Parser
{
    using System.Collections.Generic;

    using JDKing.JsonLite.Ast;
    using JDKing.JsonLite.Lexer;

    public class JsonParser
    {
        public JsonValue Parse(IEnumerable<Token> tokens)
        {
            return new JsonRootBuilder(tokens.GetEnumerator()).Build();
        }
    }
}