Your message dated Sun, 09 Dec 2018 13:35:33 +0000
with message-id <[email protected]>
and subject line Bug#601718: fixed in libjson-perl 4.00000-1
has caused the Debian Bug report #601718,
regarding libjson-perl: inconsistent handling of numbers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
601718: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601718
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libjson-perl
Version: 2.26-1
Severity: important

- on encode_json(), it seems to remove "" if the string looks like a
  number.  

- on decode_json(), it's inconsistent... given the same object
  (AFAICT), it encodes it differently, although all the time the same
  way. It seems to keep some state in $obj2 that I cannot figure out.

- This is creating a problem with couchdb. couchdb provides an
  attribute 'revpos' as an integer, and it barfs on update if it
  doesn't see it as such


re.pl(main)> $obj1
{
  a => 1,
  b => {
    c => 32
  }
}

re.pl(main)> $ex
{"a":"1","b":{"c":"32"}}

re.pl(main)> my $obj2 = decode_json($ex)
{
  a => 1,
  b => {
    c => 32
  }
}

re.pl(main)> my $dump1 = encode_json($obj1)
{"a":1,"b":{"c":32}}

re.pl(main)> my $dump2 = encode_json($obj2)
{"a":"1","b":{"c":"32"}}

re.pl(main)> cmp_deeply($obj1, $obj2)
ok 3
1


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.28.3-x86_64-linode5 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libjson-perl depends on:
ii  perl                          5.10.1-15  Larry Wall's Practical Extraction 

Versions of packages libjson-perl recommends:
ii  libjson-xs-perl               2.300-1    module for serializing/deserializi

libjson-perl suggests no packages.

-- no debconf information

-- 



--- End Message ---
--- Begin Message ---
Source: libjson-perl
Source-Version: 4.00000-1

We believe that the bug you reported is fixed in the latest version of
libjson-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <[email protected]> (supplier of updated libjson-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 09 Dec 2018 14:05:53 +0100
Source: libjson-perl
Binary: libjson-perl
Architecture: source
Version: 4.00000-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Xavier Guimard <[email protected]>
Closes: 601718
Description: 
 libjson-perl - module for manipulating JSON-formatted data
Changes:
 libjson-perl (4.00000-1) unstable; urgency=medium
 .
   [ Salvatore Bonaccorso ]
   * Update Vcs-* headers for switch to salsa.debian.org
 .
   [ Xavier Guimard ]
   * Email change: Xavier Guimard -> [email protected]
   * Import upstream version 4.00000 (Closes: #601718)
   * Update upstream/metadata
   * Declare compliance with policy 4.2.1
Checksums-Sha1: 
 87c2a086d7cae837203bd5c56d92dcdd490dcafa 2249 libjson-perl_4.00000-1.dsc
 8346e3fa0cc92a0f7109ef642e7a405bc241cfec 90081 libjson-perl_4.00000.orig.tar.gz
 e8ac4975a23e891c487953f679fa8d535eaa1d00 4888 
libjson-perl_4.00000-1.debian.tar.xz
Checksums-Sha256: 
 8d613e7e5d5bdfbf6e46d2db1a3322a8f5ca489f4f9d61f3e55fcd25f6cd820a 2249 
libjson-perl_4.00000-1.dsc
 c4da1f1075878604b7b1f085ff3963e1073ed1c603c3bc9f0b0591e3831a1068 90081 
libjson-perl_4.00000.orig.tar.gz
 7c4c3d375237da492ed964340fd94bca7a77cc020f638ee8018c81c6915d578b 4888 
libjson-perl_4.00000-1.debian.tar.xz
Files: 
 fad3acf9002171235679b9e5e1e1bd22 2249 perl optional libjson-perl_4.00000-1.dsc
 2c0114c62a841159ffbe2d2b37f259ff 90081 perl optional 
libjson-perl_4.00000.orig.tar.gz
 a75366fb467bda92d31269203418e370 4888 perl optional 
libjson-perl_4.00000-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAlwNFOwQHHlhZGRAZGVi
aWFuLm9yZwAKCRD210ynyZnu6Z9+D/9iiAB42nA6jrguy0C5WYnplgXPAffIcUf4
1rkBXce4Ed4hE7Z0MP5wiPDAtJaCOQWGZo3SRqGjcXTWVKzFi6nI2GqyNx0xV1Qd
DFr98/ugmPBuL4+PxfTwEvq4nnBzAMxXI2xj5p+eptnvhBYEtlbqGypFsuvAK0Tr
BHXaGQ/apgcSAfmW+nwJXmrBcGkdOhjn9ZitO+QCKxjsHoS8DztQ2XxPY7x6oss1
oOlPVa9cDYTXgNaFjaaQtbWBwVowuuVzXLS/HWwaluPAQnbYLlghdmEYyu3r+dLY
PxPOglb/DTcKYBceSvmd22CgkgRpkZtp/IfY8na7cFTWLFK1AkzmB0GTSxyiZOco
Y8qAMAMtMdDz/d3CLU0UVlgaudH5WAmK+3sGJRs8c3gknGzotcreaeDjCUbqp/qN
2i27sfeixs8azeAump/6WSBoJ2HowSHKRLyxn/TAgwocQ6GSqRaG6N8b8VYMtoRK
f7ICKejWRM7Kl6dG8zqKGuBJzXnH4MFcbA8LF7LFHmD1w1maeIhsJCjlfBwi0yps
fRVWS0G4e5FN6usfzuAshREDHTZxH6UHtCh0HgqJ7fu3LZL1Rf653kKFChL4neoh
y2dXp/ywz+kxlJlnC3rIppKrrbZQM7dyXO3OE5T7/eHGgnxPZvk7hTBl4+cnNAPW
ktZndOhnoQ==
=fUOs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to