Group
Extension

Mojo-Response-JSON-Path/lib/Mojo/Response/JSON/Path.pod


=head1 Mojo::Response::JSON::Path - use JSON::Path for searching JSON responses

=head2 SYNOPSIS

    use Mojo::Response::JSON::Path;
    use Mojo::UserAgent;

    my $ua = Mojo::UserAgent->new;

    my $url = Mojo::URL->new("http://localhost:3000");

    $url->query({ ids => $id });

    my $json = $tx->res->json('$.entities');


=head2 DESCRIPTION

This module allows the use of an optional JSON Path expression to extract a specific value from a Mojo::Message via JSON::Path. 

=head2 FUNCTIONS

None

=head2 SEE ALSO

Related modules: L<Mojo::Message>, L<Mojo::JSON::Pointer>, L<JSON::Path>

=head2 AUTHORS

Simone Cesano 

=head2 COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Simone Cesano.

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


Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.