diff options
author | obache <obache> | 2008-01-05 08:15:18 +0000 |
---|---|---|
committer | obache <obache> | 2008-01-05 08:15:18 +0000 |
commit | 4399192546ae06ec32ed62b0569cd3460c5f8bb5 (patch) | |
tree | 2a2ff2bd2744645e4b84d1d5dacb1cb48f0b2a2f /converters/p5-JSON | |
parent | 37c78eff263c22e677a35e71406fc08f80dc7ad5 (diff) | |
download | pkgsrc-4399192546ae06ec32ed62b0569cd3460c5f8bb5.tar.gz |
Update p5-JSON to 2.03.
Changes:
## JSON version 2.00 #####################################################
In this version, JSON was totally rewritten.
* JSON becomes a wrapper to JSON::XS or JSON::PP!
* objToJson() and jsonToObj() are obsoleted!
* $JSON::* variables are no longer available!
* JSON::Parser and JSON::Converter are deleted from the distribution!
* JSONRPC* and Apache::JSONRPC are deleted from the distribution!
Please check JSON::RPC (supports JSON-RPC protocol v1.1 and 1.0).
##########################################################################
2.03 Fri Jan 4 14:10:58 2008
[JSON]
- fixed the description - Transition ways from 1.xx to 2.xx.
$JSON::ConvBlessed compat => $json->allow_blessed->as_nonbleesed
- support_by_pp supports 'as_nonbleesed' (experimental)
- clean up the code for saving memory
[JSON::PP] 2.03
- Now the allo_bignum flag also affects the encoding process.
encode() can convert Math::BigInt/Float objects into JSON numbers
- added as_nonblessed option (experimental)
- cleaned up internal function names (renamed camel case names)
2.02 Wed Dec 26 11:08:19 2007
[JSON]
- Now support_by_pp allows to use indent_length()
[JSON::PP] 2.02
- added get_indent_length
2.01 Thu Dec 20 11:30:59 2007
[JSON]
- made the object methods - jsonToObj and objToJson
available for a while with warnings.
2.00 Wed Dec 19 11:48:04 2007
[JSON]
- new version!
- modified Makefile.PL for broken Perls (when PERL_DL_NONLAZY = 1).
[JSON::PP] 2.0104
- clean up the document.
- use 'subs' instead of CORE::GLOBAL for fixing join() in 5.8.0 - 5.8.2
- enhanced decoding error messages for JSON::XS compatibility.
- jsonToObj and objToJson warn.
1.99_05 Fri Dec 14 18:30:43 2007
[JSON]
- added a description about the Unicode handling to document.
[JSON::PP] (2.0103)
- Now the JSON::PP56 unicode handling does not require Unicode::String.
- Now JSON::PP5005 can de/enocde properly within the Perl 5.005 world.
- decode() always utf8::decode()ed to strings.
- decode() returned a big integer as string though the integer is
smaller than it is so.
- a bad know how - added the join() wrapper for Perl 5.8.0 - 5.8.2 bug.
- JSON::PP56 encode() did not handle Unicode properly.
- added a section about the unicode handling on Perls to JSON::PP doc.
1.99_04 Mon Dec 10 14:28:15 2007
[JSON]
- modified the tests and source for Perl 5.005
[JSON::PP] (2.0102)
- modified some prototypes in JSON::PP5005.
1.99_03 Mon Dec 10 11:43:02 2007
[JSON]
- modified tests and document.
in Perl5.8.2 or earlier, decoding with utf8 is broken because of
a Perl side problem. (join() had a bug.)
- modified Makefile.PL for Perl 5.005.
in the version, 'require JSON' is fail....
[JSON::PP] (2.0102)
- modified string decode function.
- enhanced error messages for compatibility to JSON::XS.
- enhanced utf8::decode emulator and unpack emulator in JSON::PP56.
1.99_02 Sun Dec 9 05:06:19 2007
[JSON::PP] (2.0101)
- decoding with utf8 was broken in Perl 5.10
as the behaviour of unpack was changed.
- added a fake in JSON::PP5005 (bytes.pm)
- added the missing file JONS::PP::Boolean.pm
1.99_01 Sat Dec 8 12:01:43 2007
[JSON]
- released as version 2.0
this module is incompatible to 1.xx, so check the document.
[JSON::PP] (2.01 from 0.97)
- updated JSON::PP for compatible to JSON::XS 2.01
- renamed from_json and to_json to decode_json and encode_json
- added get_* to JSON::PP
- deleted property() from JSON::PP
- deleted strict() and added loose()
- deleted disable_UTF8() and self_encode()
- renamed singlequote to allow_singlequote
- renamed allow_bigint to allow_bignum
- max_depth and max_size round up their arguments.
- added indent_length and sort_by
Diffstat (limited to 'converters/p5-JSON')
-rw-r--r-- | converters/p5-JSON/Makefile | 6 | ||||
-rw-r--r-- | converters/p5-JSON/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/converters/p5-JSON/Makefile b/converters/p5-JSON/Makefile index 4416f504f68..aab7c8cce6c 100644 --- a/converters/p5-JSON/Makefile +++ b/converters/p5-JSON/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2007/12/03 05:54:15 obache Exp $ +# $NetBSD: Makefile,v 1.4 2008/01/05 08:15:18 obache Exp $ -DISTNAME= JSON-1.15 +DISTNAME= JSON-2.03 PKGNAME= p5-${DISTNAME} CATEGORIES= www perl5 converters -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MA/MAKAMAKA/} MAINTAINER= obache@NetBSD.org HOMEPAGE= http://search.cpan.org/dist/JSON/ diff --git a/converters/p5-JSON/distinfo b/converters/p5-JSON/distinfo index 0324908cfa8..4b60fbfcd65 100644 --- a/converters/p5-JSON/distinfo +++ b/converters/p5-JSON/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2007/12/03 05:54:15 obache Exp $ +$NetBSD: distinfo,v 1.4 2008/01/05 08:15:18 obache Exp $ -SHA1 (JSON-1.15.tar.gz) = 56347647085e9e49d6c66a3d7d573466513eedae -RMD160 (JSON-1.15.tar.gz) = ba6f2fc4fa7bb93f52b2f731a971f8cf68d5881e -Size (JSON-1.15.tar.gz) = 38395 bytes +SHA1 (JSON-2.03.tar.gz) = 5de944ed0a133b91ee2cea8af0c48558346cf7f0 +RMD160 (JSON-2.03.tar.gz) = 3237aefc682e076ca1e67e285557db6714cd60ee +Size (JSON-2.03.tar.gz) = 60408 bytes |