./textproc/ruby-json, Native extension implementation of JSON for Ruby

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


Branch: pkgsrc-2020Q4, Version: 2.3.1, Package name: ruby26-json-2.3.1, 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 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.


Master sites:

SHA1: 4ca3c32a3934eee1fc81c967e130bd24b39906b5
RMD160: a4e7c1aa984cd3dfd75fb323edf4b6b47bdf80fb
Filesize: 116 KB

Version history: (Expand)