# ABSTRACT: a {json:api} document building class
package PONAPI::Document;
use strict;
use warnings;
use parent 'PONAPI::Document::Builder::Document';
1;
__END__
=pod
=encoding UTF-8
=head1 NAM
E
PONAPI::Document - a {json:api} document building class
=head1 VERSION
version 0.001002
=head1 SYNOPSIS
use PONAPI::Document;
my $document = PONAPI::Document->new(
version =>
turn a valid {json:api} document
# as a perl hash, which you can later turn into JSON.
my $result = $document->build;
=head1 DESCRIPTION
C<PONAPI::Document> lets you build {json:api} complia
ION
C<PONAPI::Document::Builder::Resource> is used internally by
C<PONAPI::Document> to build C<{json:api}> documents. Generally,
these will be created by C<< PONAPI::Document->add_resources >>, whi
{json:api} document building tools
package PONAPI::Tools;
use strict;
use warnings;
our $VERSION = '0.001002';
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
PONAPI::Tools - PONAPI-Tools - {json:
building tools
=head1 VERSION
version 0.001002
=head1 DESCRIPTION
Various tools for building {json:api} compatiable documents.
Used by L<PONAPI::Server>
For information about creating documents,
SCRIPTION
This module implements the L<member name restrictions|http://jsonapi.org/format/#document-member-names>
from the {json:api} specification; it can be used by repositories
to implement strict