package HAL::Tiny;
use 5.008001;
use strict;
use warnings;
use JSON qw/encode_json/;
our $VERSION = "0.03";
sub new {
my ($class, %args) = @_;
my ($state, $links, $embedded)
= @arg
d} = $v;
}
return %hash;
}
sub as_hashref {
+{ $_[0]->as_hash };
}
sub as_json {
encode_json($_[0]->as_hashref);
}
1;
__END__
=encoding utf-8
=head1 NAME
HAL::Tiny - Hypertext
,
find => {
href => '/orders{?id}',
templated => JSON::true,
},
},
embedded => +{
orders => [
H