[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#730787: ITP: libjson-multivalueordered-perl -- handle JSON like {"a":1, "a":2}



Package: wnpp
Owner: Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (CPAN/PAUSE) <daxim@cpan.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libjson-multivalueordered-perl
  Version         : 0.004
  Upstream Author : Toby Inkster <tobyink@cpan.org>
* URL             : https://metacpan.org/release/JSON-MultiValueOrdered
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : handle JSON like {"a":1, "a":2}

A hash tied to this class acts more or less like a standard hash,
except that when you assign a new value to an existing key, the old
value is retained underneath. An explicit delete deletes all values
associated with a key.

By default, the old values are inaccessible through the hash interface,
but can be retrieved via the tied object:

my @values = tied(%hash)->get($key);

However, the fetch_* methods provide a means to alter the behaviour of
the hash.

Attachment: signature.asc
Description: PGP signature


Reply to: