NAME

Astro::ADS::Role::ResultMapper - Maps the JSON structure returned from an ADS search query

VERSION

version 1.90

DESCRIPTION

Takes the Mojo Response JSON and maps it to the Result object parameters, returning a Result object with Papers in the docs attribute.

SYNOPSIS

use Moo;
extends 'Astro::ADS';
with 'Astro::ADS::Role::ResultMapper';

...
return $self->parse_response( $json );

AUTHOR

Boyd Duffee <duffee@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2025 by Boyd Duffee.

This is free software, licensed under:

The MIT (X11) License