JSONLD
view release on metacpan or search on metacpan
lib/JSONLD.pm view on Meta::CPAN
=head1 SYNOPSIS
use v5.14;
use JSON;
use JSONLD;
my $infile = 'test.jsonld';
open(my $fh, '<', $infile) or die $!;
my $content = do { local($/); <$fh> };
my $data = JSON->new()->boolean_values(0, 1)->decode($content);
my $jld = JSONLD->new();
my $expanded = $jld->expand($data);
=head1 DESCRIPTION
This module implements part of the JSON-LD 1.1 standard for manipulating JSON
data as linked data.
This version provides full support for the JSON-LD 1.1 "Expansion" and
( run in 0.199 second using v1.01-cache-2.11-cpan-9ff20fc0ed8 )