summaryrefslogtreecommitdiff
path: root/textproc/ruby-json-pure/DESCR
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-04 15:21:50 +0000
committerjlam <jlam>2008-04-04 15:21:50 +0000
commitd1d7b8d73776e253dea2e6d81a4076cf5bb4bfac (patch)
tree9fdcec36337a4e0d4c6187478fe5dc85d2a0b6a0 /textproc/ruby-json-pure/DESCR
parentbbe0cc8ffa2f7c7eaf5a61f60cdc2529a7eeebb0 (diff)
downloadpkgsrc-d1d7b8d73776e253dea2e6d81a4076cf5bb4bfac.tar.gz
Initial import of ruby18-json-pure-1.1.2 as textproc/ruby-json-pure.
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.
Diffstat (limited to 'textproc/ruby-json-pure/DESCR')
-rw-r--r--textproc/ruby-json-pure/DESCR14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/ruby-json-pure/DESCR b/textproc/ruby-json-pure/DESCR
new file mode 100644
index 00000000000..6955c01016a
--- /dev/null
+++ b/textproc/ruby-json-pure/DESCR
@@ -0,0 +1,14 @@
+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.