forked from pool/perl-JSON-Parse
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:
committed by
Git OBS Bridge
parent
9c9e1c8e70
commit
38f1966c7a
@@ -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
3
JSON-Parse-0.39.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8ca48d1887a846ed834cc985a4e29e3ccaccb5b2cb99e2595c5bd119ffd0be20
|
||||||
|
size 63187
|
@@ -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
|
Sun Nov 8 09:52:08 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-JSON-Parse
|
Name: perl-JSON-Parse
|
||||||
Version: 0.38
|
Version: 0.39
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name JSON-Parse
|
%define cpan_name JSON-Parse
|
||||||
Summary: Read JSON into a Perl variable
|
Summary: Read JSON into a Perl variable
|
||||||
@@ -32,33 +32,30 @@ BuildRequires: perl-macros
|
|||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
JSON::Parse offers the function 'parse_json', which takes one
|
JSON::Parse offers the function parse_json, which takes one argument, a
|
||||||
argument, a string containing JSON, and returns a Perl reference or scalar.
|
string containing JSON, and returns a Perl reference or scalar. The input
|
||||||
The input to 'parse_json' must be a complete JSON structure.
|
to 'parse_json' must be a complete JSON structure.
|
||||||
|
|
||||||
A safer version of the same function the 'parse_json_safe' also
|
A safer version of the same function parse_json_safe also exists.
|
||||||
exists.
|
|
||||||
|
|
||||||
JSON::Parse also offers two validation functions, the 'valid_json',
|
JSON::Parse also offers two validation functions, valid_json, which returns
|
||||||
which returns true or false, and the 'assert_valid_json', which
|
true or false, and assert_valid_json, which produces a descriptive fatal
|
||||||
produces a descriptive fatal error if the JSON is invalid. These act at a
|
error if the JSON is invalid. These act at a higher speed than parse_json.
|
||||||
higher speed than the 'parse_json'. See the /PERFORMANCE manpage for
|
See PERFORMANCE for a comparison.
|
||||||
a comparison.
|
|
||||||
|
|
||||||
JSON::Parse also offers one convenience function to read JSON directly from
|
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
|
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'
|
non-unique names, or round-trips with JSON booleans, there is also new and
|
||||||
and 'run'.
|
run.
|
||||||
|
|
||||||
JSON::Parse accepts only UTF-8 as input. If its input is marked as Unicode
|
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, the strings in its output are also marked as Unicode
|
||||||
characters. If its input contains Unicode escapes of the form '"\u3000"',
|
characters. If its input contains Unicode escapes of the form '"\u3000"',
|
||||||
its output is upgraded to Unicode character strings.
|
its output is upgraded to Unicode character strings.
|
||||||
|
|
||||||
(JSON means "JavaScript Object Notation" and it is specified in the RFC
|
(JSON means "JavaScript Object Notation" and it is specified in RFC 7159.)
|
||||||
7159.)
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
Reference in New Issue
Block a user