Group
Extension

Matches 4

HiPi ( M/MD/MDOOTSON/HiPi-0.94.tar.gz, MDOOTSON, 2025; MetaCPAN )
HiPi/lib/HiPi/Utils/OLEDFont.pm ( view source; MetaCPAN )
( HiPi::Class );
use Image::Imlib2;
use JSON qw( encode_json decode_json );
use File::Slurp;
use Try::Tiny;
use Cwd;

__PACKAGE__->create_accessors( qw(
    json_file
    input_folder
    output_folde

    my $self = shift;
    return '' unless $self->_init_oledfont;
    my $dataref = $self->_read_json;
    return '' unless $dataref;
    my $content = $self->_get_content( $dataref );
    return '' 
older );
        unless( -f $self->input_folder . '/' . $self->json_file ) {
            warn 'could not locate json file ' . $self->json_file;
            return  0;
        }
        return 1;
    }
HiPi ( M/MD/MDOOTSON/HiPi-0.94.tar.gz, MDOOTSON, 2025; MetaCPAN )
HiPi/lib/HiPi/RF/OpenThings/Message.pm ( view source; MetaCPAN )
F::Message );
use HiPi qw( :openthings :energenie );
use HiPi::RF::OpenThings;
use Try::Tiny;
use JSON;

our $VERSION ='0.89';

__PACKAGE__->create_accessors( qw(
    cryptseed
    epoch
    length
  
}
        }
    }
    return $data;
}

sub json {
    my ($self, $pretty) = @_;
    my $data = $self->value_hash;
    my $output = try {
        my $j = JSON->new;
        my $return = ( $pretty ) ? $
HiPi ( M/MD/MDOOTSON/HiPi-0.94.tar.gz, MDOOTSON, 2025; MetaCPAN )
HiPi/lib/HiPi/Energenie/Command.pm ( view source; MetaCPAN )
 );
use HiPi::Energenie;
use HiPi::Utils::Config;
use Getopt::Long qw( GetOptionsFromArray );
use JSON;
use Try::Tiny;
use HiPi::RF::OpenThings::Message;

our $VERSION ='0.82';

__PACKAGE__->create_ac
 ) {
            if( lc($arg) eq '--json' ) {
                $self->mode('json');
            } elsif( lc($arg) eq '--pretty' ) {
                $self->mode('json');
                $self->pretty(1)
    
    return $result;
}

sub return_result {
    my $self = shift;
    
    if($self->mode eq 'json') {
        if( exists( $self->result->{data}) && ref($self->result->{data})->isa('HiPi::RF::Open
HiPi ( M/MD/MDOOTSON/HiPi-0.94.tar.gz, MDOOTSON, 2025; MetaCPAN )
HiPi/lib/HiPi/Utils/Config.pm ( view source; MetaCPAN )
###############

use strict;
use warnings;
use parent qw( HiPi::Class );
use File::Path ( );

use JSON;
use Try::Tiny;
use Storable;
use Carp;

__PACKAGE__->create_ro_accessors( qw( configclass filepa
!) );
    read( $fh, my $input, -s $fh);
    close( $fh );
    my $json = JSON->new;
    my $conf = try {
        my $decoded = $json->decode( $input );
        return $decoded;
    } catch {
        
lepath ) or croak( qq(failed to open config file : $!) );
    my $json = JSON->new;
    my $output = try {
        my $encoded = $json->pretty->canonical->encode( $self->config );
        return $enco

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