;
use Any::Moose 'X::Getopt';
use Any::Moose 'X::StrictConstructor';
use URI;
use JSON::XS;
use WWW::Mechanize;
our $VERSION = '0.01';
with any_moose('X::Getopt::Dashes')
= $mech->content;
# Get the raw JSON string
my ($json_string) = $cont =~ m[
\Qcontext.jsonArray.popups.pod_0200.push(\E\ (?<json>\{.*?\}) \Q);\E
]xm;
# D
ecode it into a Perl structure
my $json = decode_json($json_string);
my $reply = $json->{stringified};
return $reply;
}
sub run {
my ($self, $query) = @_;