NAME

WWW::MailboxOrg::JSONRPCResponse - JSON-RPC 2.0 response object

VERSION

version 0.001

SYNOPSIS

use WWW::MailboxOrg::JSONRPCResponse;

my $res = WWW::MailboxOrg::JSONRPCResponse->new(
    result => { account => 'test@example.tld' },
    id     => 1,
);

DESCRIPTION

JSON-RPC 2.0 response object.

result

The response result (absent on error).

error

Error object with code and message keys.

id

Request ID this response corresponds to.

is_success

Returns true if the response is successful.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/getty/p5-www-mailboxorg/issues.

IRC

Join #perl-help on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.