The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

JSON::Feed::Types - The Types for JSON::Feed package.

SYNOPSIS

    use JSON::Feed::Types;

    JSONFeedAuthor->assert_validate( $obj1 );
    JSONFeedAttachment->assert_validate( $obj2 );

DESCRIPTION

In this Type library, the following 4 types are defined and exported.

JSONFeed
JSONFeedItem
JSONFeedAuthor
JSONFeedAttachment

These Types are object defined with Type::Tiny and therefore have methods listed here: https://metacpan.org/pod/Type::Tiny#Methods.

Each type corresponds to an object defined in jsonfeed spec v1.