Group
Extension

Matches 1

VANAMBURG-SEMPROG-SimpleGraph ( V/VA/VANAMBURG/VANAMBURG-SEMPROG-SimpleGraph-0.010.tar.gz, VANAMBURG, 2010; MetaCPAN )
VANAMBURG-SEMPROG-SimpleGraph/lib/VANAMBURG/SEMPROG/SimpleGraph.pm ( view source; MetaCPAN )
= '0.010';

use Moose;
use Text::CSV_XS;
use Set::Scalar;
use List::MoreUtils qw(each_array);
use JSON;
use File::Slurp;

use English;

#
# Store triples in nested hashrefs with a Set::Scalar instance
ose $fh or die "$!";
}

sub load_json {
    my ( $self, $filename ) = @ARG;

    my $text = read_file($filename) or die "Cannot read_file: $!";
    my $data = from_json( $text, { utf8 => 1 } );

    f
s a csv file in utf8 encoding.

    $g->load("some/file.csv");


=head2 load_json

Loads a json file into a graph.  The json file should be formated as follows:

{
    "triples" : [
        {   "s": "

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.