Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: yajl-tcl 1.3, a Tcl interface to the Yet Another JSON Library (YAJL) JSON generator

163 views
Skip to first unread message

Karl Lehenbauer

unread,
Jul 31, 2012, 6:42:17 PM7/31/12
to
Announcing yajl-tcl 1.3, an update to the Tcl C interface to the Yet Another JSON Library (YAJL), a C library for parsing and generating JSON. (JSON stands for Javascript Object Notation, a popular data exchange format for Javascript.)

Although there is already a package in the tcllib library, huddle, that can generate JSON, the big advantage in using yajl-tcl is performance. Also, yajl-tcl can parse JSON as well as generating it.

In a benchmark generating JSON representing 5,000 airports with code, name, latitude and longitude, yajl-tcl was 157 times faster than huddle.

Release 1.3 adds JSON parsing into a simple key/value dict-compatible format, a "delete" convenience method, performance improvements and bug fixes. Also it supports the latest version of yajl... YAJL 2.

A webpage on yajl-tcl with example use can be found at http://flightaware.github.com/yajl-tcl/
The github project is at https://github.com/flightaware/yajl-tcl
A source tarball can be downloaded from https://github.com/downloads/flightaware/yajl-tcl/yajl-tcl-1.3.tar.gz or you can clone the git repository using "git clone git://github.com/flightaware/yajl-tcl.git"

Jeff Lawson (bovine on github) did most of the work that comprises the 1.3 release. (Thank you, Jeff.)

Regards,

Karl Lehenbauer
FlightAware
0 new messages