./textproc/ruby-json-pure, Pure Ruby implementation of JSON

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2010Q3, Version: 1.4.6, Package name: ruby18-json-pure-1.4.6, Maintainer: pkgsrc-users

This is a implementation of the JSON specification according to RFC
4627. You can think of it as a low fat alternative to XML, if you
want to store data to disk or transmit it over a network rather than
use a verbose markup language.

The JSON generator escapes all non-ASCII an control characters with
\uXXXX escape sequences and supports UTF-16 surrogate pairs in order
to be able to generate the whole range of Unicode code points. This
means that generated JSON text is encoded as UTF-8 (because ASCII is
a subset of UTF-8) and at the same time avoids decoding problems for
receiving endpoints that don't expect UTF-8 encoded texts.

This package is a pure Ruby variant that relies on the iconv and the
stringscan extensions, which are both part of the Ruby standard library.


Required to run:
[lang/ruby18-base]

Master sites:

SHA1: 9fe74cdffaba077e1209f9222e8b7ddd282966df
RMD160: 2ce9c5c4315c330a0f9dac5592e4c8d6c134efc6
Filesize: 389.5 KB

Version history: (Expand)