NAME
JSON::API::v1::Links - A JSON API Links object
VERSION
version 0.002
SYNOPSIS
use JSON::API::v1::Resource;
my $object = JSON::API::v1::Resource->new(
# If omitted, this becomes a "NULL" object
id => 1,
type => 'example',
# optional
attributes => {
'title' => 'Some example you are',
},
);
$object->TO_JSON_API_V1;
DESCRIPTION
This module attempts to make a Moose object behave like a JSON API object as defined by jsonapi.org. This object adheres to the v1 specification.
ATTRIBUTES
METHODS
SEE ALSO
AUTHOR
Wesley Schwengle <waterkip@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2020 by Wesley Schwengle.
This is free software, licensed under:
The (three-clause) BSD License