lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Sean Conner once stated:
> 
>   I've just released version 1.0.6 of org.conman.parsers.jsons, which
> fixes a bug found by Dirk Laurie related to feeding data into the parser. 
> This now works:
>
>         json = require "org.conman.parsers.jsons"
>         file = io.open("large-json-file.json","r")
>         data = json:match(function() return file:read(1024) end)

  No it doesn't.  

  Doing a streaming JSON parser with LPeg is proving to be rather difficult.  

  Sigh.

  -spc