lua-users home
lua-l archive

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


I've updated dkjson, there are two new versions: 2.1 and a bugfix
release 1.1.

The most important change however is the web address: I was told by my
university that they are shutting down their user server by the end of
this month. As I don't have another homepage yet, I uploaded my source
repository to chiselapp.com:

<http://chiselapp.com/user/dhkolf/repository/dkjson/>

I have finally updated the comparison at
<http://lua-users.org/wiki/JsonModules> to include more modules and new
versions.

Here are the actual changes to my module:

Version 2.1
===========

<http://chiselapp.com/user/dhkolf/repository/dkjson/raw/dkjson.lua?name=6bb6b9b6a57c0013caaf74a0be212c20ce6cf689>

Changes since version 2.0:

  *  Changed the documentation to Markdown format.
  *  LPeg is now parsing only a single value at a time to avoid running
     out of Lua stack for big arrays and objects.
  *  Read __tojson, __jsontype and __jsonorder even from
     blocked metatables through the debug module.
  *  Fixed decoding single numbers (only affected the non-LPeg mode).
  *  Corrected the range of escaped Unicode control characters.

Version 1.1
===========

<http://chiselapp.com/user/dhkolf/repository/dkjson/raw/dkjson.lua?name=32a53e69326ac6231c942f0175700cb119ac8108>

Changes since version 1.0:

  *  The values NaN/+Inf/-Inf are recognised and encoded as "null" like
     in the original JavaScript implementation.
  *  Read __tojson even from blocked metatables through the debug
     module.
  *  Fixed decoding single numbers.
  *  Corrected the range of escaped Unicode control characters.