perl-JSON-Assert-0.08-alt1.noarch.rpm


Advertisement

Description

perl-JSON-Assert - Asserts JSONPaths into a JSON data structure for correct values/matches

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-JSON-Assert
Package version 0.08
Package release alt1
Package architecture noarch
Package type rpm
Installed size 26.46 KB
Download size 26.46 KB
Official Mirror ftp.altlinux.org
This module allows you to test JPaths into a JSON data structure to check that their
number or values are what you expect.
To test the number of keys you expect to find, use the `assert_jpath_count()'
method. To test the value of a key, use the
`assert_jpath_value_match()'. This method can test against strings or regexes.
You can also text a value against a number of keys by using the
`assert_jpath_values_match()' method. This can check your value against any
number of keys.
Each of these assert methods throws an exception if they are false. Therefore,
there are equivalent methods which do not die, but instead return a truth
value. They are does_jpath_count(), does_jpath_value_match() and
do_jpath_values_match().

Alternatives

Package Version Architecture Repository
perl-JSON-Assert - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(JSON/Path.pm) -
perl(Moo.pm) -
perl(MooX/Types/MooseLike/Base.pm) -
perl(Test/Builder/Module.pm) -
perl(Test/Deep/NoTest.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(JSON/Assert.pm) = 0.080
perl(Test/JSON/Assert.pm) -
perl-JSON-Assert = 0.08-alt1

Download

Type URL
Binary Package perl-JSON-Assert-0.08-alt1.noarch.rpm
Source Package perl-JSON-Assert-0.08-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-JSON-Assert rpm package:
    # sudo apt-get install perl-JSON-Assert

Files

Path
/usr/share/doc/perl-JSON-Assert-0.08/COPYING.txt
/usr/share/doc/perl-JSON-Assert-0.08/README
/usr/share/perl5/JSON/Assert.pm
/usr/share/perl5/JSON/Assert/Changes.pod
/usr/share/perl5/Test/
/usr/share/perl5/Test/JSON/Assert.pm

See Also

Package Description
perl-JSON-Builder-0.04-alt1.noarch.rpm to build large JSON with temp files when memory limit, and compress optionaly
perl-JSON-CPAN-Meta-7.001-alt1.noarch.rpm perl module JSON-CPAN-Meta
perl-JSON-Color-0.12-alt1.noarch.rpm Encode to colored JSON
perl-JSON-Decode-Marpa-0.02-alt1.noarch.rpm JSON parser using Marpa
perl-JSON-Decode-Regexp-0.101-alt1.noarch.rpm JSON parser as a single Perl Regex
perl-JSON-Diffable-0.000002-alt1.noarch.rpm A relaxed and easy diffable JSON variant
perl-JSON-HPack-0.0.3-alt1.noarch.rpm perl module JSON-HPack
perl-JSON-Hyper-0.011-alt1.noarch.rpm extract links from JSON via a schema
perl-JSON-JOM-0.501-alt1.noarch.rpm the JSON Object Model
perl-JSON-JOM-Plugins-JsonPath-0.002-alt1.noarch.rpm search for nodes using JSONPath
perl-JSON-JOM-Plugins-YAML-0.002-alt1.noarch.rpm YAML dump for JOM nodes
perl-JSON-JSend-0.02-alt1.noarch.rpm Simple JSON responses (see: labs.omniti.com/labs/jsend)
perl-JSON-MaybeUTF8-1.000-alt1.noarch.rpm provide explicit text/UTF-8 JSON functions
perl-JSON-MergePatch-0.04-alt1.noarch.rpm JSON Merge Patch implementation
perl-JSON-Meth-1.001007-alt1.noarch.rpm no nonsense JSON encoding/decoding as method calls on data
Advertisement
Advertisement