Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all articles
Browse latest Browse all 2050

Plugins & Perl Modules -- how to install? (JSON)

$
0
0
> I'll need the JSON Perl module. I'm sure this has been solved before, I
> just can't see an example - is there a way to auto-include a Perl module
> (specifically the JSON one)? Is JSON built-in already?


Yes, we use it all over the place:

use JSON::XS::VersionOneAndTwo;

Then use from_json($data) and to_json($ref).

--

Michael

Viewing all articles
Browse latest Browse all 2050

Trending Articles