package Geo::Coder::GeoApify;
use strict;
use warnings;
use Carp;
use CHI;
use Encode;
use JSON::MaybeXS;
use HTTP::Request;
use LWP::UserAgent;
use LWP::Protocol::https;
use Params::Get;
use Time::
the JSON response
my $json = JSON::MaybeXS->new->utf8();
my $rc;
eval {
$rc = $json->decode($res->decoded_content());
};
if($@ || !defined $rc) {
Carp::carp("$url: Failed to decode JSON - ",
return {};
}
# Decode the JSON response
my $json = JSON::MaybeXS->new->utf8();
my $rc;
eval {
$rc = $json->decode($res->decoded_content());
};
# Handle JSON decoding errors
if($@ || !def