8
0

Accepting request 345669 from devel:languages:perl:autoupdate

- updated to 0.39
   see /usr/share/doc/packages/perl-JSON-Parse/Changes
  0.39 2015-11-18
  
  * Fix for 64 bit
  * Changed error message documentation to machine-readable

OBS-URL: https://build.opensuse.org/request/show/345669
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Parse?expand=0&rev=11
This commit is contained in:
Stephan Kulow
2015-11-22 07:07:12 +00:00
committed by Git OBS Bridge
parent 9c9e1c8e70
commit 38f1966c7a
4 changed files with 27 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:794592ce9d73bfae14c2e0b86848a1df8490887c8958771eeadead311ef2fc47
size 63487

3
JSON-Parse-0.39.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ca48d1887a846ed834cc985a4e29e3ccaccb5b2cb99e2595c5bd119ffd0be20
size 63187

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Nov 20 09:41:24 UTC 2015 - coolo@suse.com
- updated to 0.39
see /usr/share/doc/packages/perl-JSON-Parse/Changes
0.39 2015-11-18
* Fix for 64 bit
* Changed error message documentation to machine-readable
-------------------------------------------------------------------
Sun Nov 8 09:52:08 UTC 2015 - coolo@suse.com

View File

@@ -17,7 +17,7 @@
Name: perl-JSON-Parse
Version: 0.38
Version: 0.39
Release: 0
%define cpan_name JSON-Parse
Summary: Read JSON into a Perl variable
@@ -32,33 +32,30 @@ BuildRequires: perl-macros
%{perl_requires}
%description
JSON::Parse offers the function 'parse_json', which takes one
argument, a string containing JSON, and returns a Perl reference or scalar.
The input to 'parse_json' must be a complete JSON structure.
JSON::Parse offers the function parse_json, which takes one argument, a
string containing JSON, and returns a Perl reference or scalar. The input
to 'parse_json' must be a complete JSON structure.
A safer version of the same function the 'parse_json_safe' also
exists.
A safer version of the same function parse_json_safe also exists.
JSON::Parse also offers two validation functions, the 'valid_json',
which returns true or false, and the 'assert_valid_json', which
produces a descriptive fatal error if the JSON is invalid. These act at a
higher speed than the 'parse_json'. See the /PERFORMANCE manpage for
a comparison.
JSON::Parse also offers two validation functions, valid_json, which returns
true or false, and assert_valid_json, which produces a descriptive fatal
error if the JSON is invalid. These act at a higher speed than parse_json.
See PERFORMANCE for a comparison.
JSON::Parse also offers one convenience function to read JSON directly from
a file, the 'json_file_to_perl'.
a file, json_file_to_perl.
For those who need to deal with special cases, such as JSON objects with
non-unique names, or round-trips with JSON booleans, there is also 'new'
and 'run'.
non-unique names, or round-trips with JSON booleans, there is also new and
run.
JSON::Parse accepts only UTF-8 as input. If its input is marked as Unicode
characters, the strings in its output are also marked as Unicode
characters. If its input contains Unicode escapes of the form '"\u3000"',
its output is upgraded to Unicode character strings.
(JSON means "JavaScript Object Notation" and it is specified in the RFC
7159.)
(JSON means "JavaScript Object Notation" and it is specified in RFC 7159.)
%prep
%setup -q -n %{cpan_name}-%{version}