forked from pool/perl-JSON-Parse
Accepting request 340726 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/340726 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Parse?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
6a5771b06d
commit
b06c3aeae0
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e93b911e648a59e4a2d728ea7ddbff7129af211dee7c04d64b2505d0b711c2cd
|
|
||||||
size 52419
|
|
3
JSON-Parse-0.36.tar.gz
Normal file
3
JSON-Parse-0.36.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b6f3a02ae2be3f7f27841f1780af46f3055a4f56d45b8ca92290615ba46bc21c
|
||||||
|
size 56732
|
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 24 09:09:02 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.36
|
||||||
|
see /usr/share/doc/packages/perl-JSON-Parse/Changes
|
||||||
|
|
||||||
|
0.36 2015-10-24
|
||||||
|
|
||||||
|
* Document and install "validjson" script.
|
||||||
|
* Document the "$JSON::Parse::json_diagnostics" global variable.
|
||||||
|
|
||||||
|
0.35 2015-10-19
|
||||||
|
|
||||||
|
* Minor documentation changes
|
||||||
|
|
||||||
|
0.34 2015-10-19
|
||||||
|
|
||||||
|
* Document key collisions
|
||||||
|
* Extend SEE ALSO section on other JSON modules on CPAN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 12 08:51:10 UTC 2015 - coolo@suse.com
|
Mon Oct 12 08:51:10 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-JSON-Parse
|
Name: perl-JSON-Parse
|
||||||
Version: 0.33
|
Version: 0.36
|
||||||
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
|
||||||
@@ -35,19 +35,23 @@ BuildRequires: perl-macros
|
|||||||
JSON means "JavaScript Object Notation" and it is specified in the /RFC
|
JSON means "JavaScript Object Notation" and it is specified in the /RFC
|
||||||
7159 manpage.
|
7159 manpage.
|
||||||
|
|
||||||
JSON::Parse converts JSON into the nearest equivalent Perl. The function
|
JSON::Parse offers the function the /parse_json manpage, which takes one
|
||||||
the /parse_json manpage takes one argument, a string containing JSON, and
|
argument, a string containing JSON, and returns a Perl reference or scalar.
|
||||||
returns a Perl reference or scalar. The input to 'parse_json' must be a
|
The input to 'parse_json' must be a complete JSON structure.
|
||||||
complete JSON structure.
|
|
||||||
|
JSON::Parse also offers two validation functions, the /valid_json manpage,
|
||||||
|
which returns true or false, and the /assert_valid_json manpage, which
|
||||||
|
produces a descriptive fatal error if the JSON is invalid. These act at a
|
||||||
|
higher speed than the /parse_json manpage. See the /PERFORMANCE manpage for
|
||||||
|
a comparison.
|
||||||
|
|
||||||
|
JSON::Parse also offers one convenience function to read JSON directly from
|
||||||
|
a file, the /json_file_to_perl manpage.
|
||||||
|
|
||||||
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, its
|
characters. If its input contains Unicode escapes of the form '"\u3000"',
|
||||||
output is upgraded to Unicode character strings.
|
its output is upgraded to Unicode character strings.
|
||||||
|
|
||||||
JSON::Parse also offers two high speed validation functions, the
|
|
||||||
/valid_json manpage and the /assert_valid_json manpage, and a function to
|
|
||||||
read JSON from a file, the /json_file_to_perl manpage.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
Reference in New Issue
Block a user