feeds_jsonpath_parser.module in Feeds JSONPath Parser 6
File
feeds_jsonpath_parser.module
View source
<?php
function feeds_jsonpath_parser_feeds_plugins() {
$path = drupal_get_path('module', 'feeds_jsonpath_parser');
$info = array();
$info['FeedsJSONPathParser'] = array(
'name' => t('JSONPath parser'),
'description' => t('Parse JSON using JSONPath.'),
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsJSONPathParser',
'file' => 'FeedsJSONPathParser.inc',
'path' => $path,
),
);
return $info;
}
function feeds_jsonpath_parser_enable() {
cache_clear_all('plugins:feeds:plugins', 'cache');
}