NAME

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

VERSION

version 1.90

SYNOPSIS

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

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

DESCRIPTION

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

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The MIT (X11) License