Plagger::Plugin::Publish::JSON - Publish JSON data output
- module: Publish::JSON config: dir: /path/to/data
This plugin dumps feed data to JSON JavaScript Object Notation.
Directory name to save.
varname: foo
Variable name to store JSON data. If set, .json file would include the variable declaration e.g.:
var foo = { ... }
Optional.
jsonp: bar
JSONP callback name to pass JSON data back. Optional. If set, .json file would wrap the returned data in a callback function, e.g.:
bar({ ... })
Tatsuhiko Miyagawa
Plagger, JSON::Syck
To install Plagger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plagger
CPAN shell
perl -MCPAN -e shell install Plagger
For more information on module installation, please visit the detailed CPAN module installation guide.