the above code works!my $url = 'https://xxxx.com/sd&output=json'; use LWP::Simple qw/get/; my $content = get $url; die "Couldn't get $url" unless defined $content; $content =~ s/\/\///; ## had to remove // in front #print Dumper $content; my $json_array = decode_json($content);
In reply to Re^2: How to read https json?
by vskatusa
in thread How to read https json?
by vskatusa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |