[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luajson (or lpeg) issue
- From: Thomas Harning Jr <harningt@...>
- Date: Mon, 02 May 2011 23:48:50 -0400
On Tue, 2011-05-03 at 06:14 +0400, Alexander Gladysh wrote:
> On Tue, May 3, 2011 at 06:02, Thomas Harning Jr. <harningt@gmail.com> wrote:
> > On Sun, May 1, 2011 at 6:26 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> >> On Mon, May 2, 2011 at 02:16, Alexander Gladysh <agladysh@gmail.com> wrote:
>
> >>> On rather small JSON data (will prepare a minimal sample ASAP) we get
> >>> this error from luajson[1] 1.2.1:
>
> >>> /luajson/lua/json/decode.lua:90: too many pending calls/choices
>
> > Good catch, I've found this is indeed a nasty little problem through
> > many of my versions released. I'll need to figure out some way to
> > linearize the parsing somehow.
> > It appears the maximum depth LuaJSON can handle right now is ~24
> > levels deep, even with trivial objects.
>
> Do you think you will be able to fix it? Sadly, this is a show-stopper
> issue for us...
>
> Thanks,
> Alexander.
>
I think I should be able to fix it. Just need to investigate how I'll
do this right without knocking out features.
--
Thomas Harning Jr