lua-users home
lua-l archive

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


dkjson is a module for encoding and decoding JSON data. It supports UTF-8.

JSON (JavaScript Object Notation) is a format for serializing data based
on the syntax for JavaScript data structures.

dkjson is written in Lua without any dependencies, but
when LPeg is available dkjson uses it to speed up decoding.

<http://dkolf.de/src/dkjson-lua.fsl/>

Changes since version 2.3:

  *  Fixed encoding and decoding of numbers in different numeric
     locales.
  *  Prevent using version 0.11 of LPeg (causes segmentation faults on
     some systems).

Version 1.3 applies the numeric locales fix to the version 1 branch.

Best regards,

David Kolf