Commit graph

2 commits

Author SHA1 Message Date
taca
4a39bff55c Update ruby-json pacakge to 1.1.3.
2008-07-10 (1.1.3)
  * Wesley Beary <monki@geemus.com> reported a bug in json/add/core's DateTime
    handling: If the nominator and denominator of the offset were divisible by
    each other Ruby's Rational#to_s returns them as an integer not a fraction
    with '/'. This caused a ZeroDivisionError during parsing.
  * Use Date#start and DateTime#start instead of sg method, while
    remaining backwards compatible.
  * Supports ragel >= 6.0 now.
  * Corrected some tests.
  * Some minor changes.
2008-09-15 08:38:01 +00:00
jlam
8fff57d2a3 Initial import of ruby18-json-1.1.2 as textproc/ruby-json.
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 fast C extension variant which is in parts implemented
in C and comes with its own Unicode conversion functions and a parser
generated by the Ragel State Machine Compiler.
2008-04-04 15:21:43 +00:00