libjson: Make the pure-perl version work
Depend on two more modules to have the following code emit something: #use JSON::XS; use JSON; my %rec_hash = ('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); my $json = encode_json \%rec_hash; print "$json\n";
This commit is contained in:
parent
7f9ef4ddb9
commit
d454e151c3
|
@ -4,6 +4,8 @@ HOMEPAGE = "http://search.cpan.org/~makamaka/JSON-2.90/lib/JSON.pm"
|
|||
SECTION = "libs"
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0+"
|
||||
RDEPENDS_${PN} = " perl-module-carp \
|
||||
perl-module-overload \
|
||||
perl-module-constant \
|
||||
libjson-xs-perl \
|
||||
"
|
||||
|
||||
|
|
Loading…
Reference in New Issue