vskatusa has asked for the wisdom of the Perl Monks concerning the following question:
How do I read the json from https url? Something likeuse JSON qw( decode_json ); my $json_array = decode_json ( do { local $/; <DATA> } ); __DATA__ Json text
use JSON qw( decode_json ); my $json_array = decode_json ( 'https://someurl?sss&output=json' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to read https json?
by Corion (Patriarch) on Jan 09, 2018 at 19:38 UTC | |
by vskatusa (Acolyte) on Jan 09, 2018 at 20:02 UTC | |
by pryrt (Abbot) on Jan 09, 2018 at 20:24 UTC | |
by Your Mother (Archbishop) on Jan 10, 2018 at 04:46 UTC |