in reply to Re^4: Can not use JSON module
in thread Can not use JSON module
Try...
my $hash_ref = from_json($json); while ( my ( $k, $v ) = each %$hash_ref ) { print qq($k => $v\n) }
...which doesn't help if things get more complex. But this doesn't matter. Just use the result - it's a Perl data structure ;-)
See also Re: How can I visualize my complex data structure?
«The Crux of the Biscuit is the Apostrophe»
Furthermore I consider that Donald Trump must be impeached as soon as possible
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Can not use JSON module
by tejD (Novice) on Jun 06, 2017 at 09:51 UTC | |
by hippo (Archbishop) on Jun 06, 2017 at 10:48 UTC | |
by Corion (Patriarch) on Jun 06, 2017 at 10:32 UTC | |
by karlgoethebier (Abbot) on Jun 06, 2017 at 11:36 UTC | |
by tejD (Novice) on Jun 07, 2017 at 11:41 UTC | |
|
Re^6: Can not use JSON module
by tejD (Novice) on Jun 05, 2017 at 11:51 UTC | |
by hippo (Archbishop) on Jun 05, 2017 at 12:23 UTC | |
by AnomalousMonk (Archbishop) on Jun 05, 2017 at 20:31 UTC |