Catmandu::Fix::get_json - get JSON data from an URL as fix function
# returns the hash get_json("http://example.com/json") # stores the in path.key get_json("http://example.com/json", path: path.key)
This Catmandu::Fix provides a method to fetch JSON data from an URL. The response is added as new item or to a field of the current item.
By now the only additional option of Catmandu::Importer::getJSON supported by this fix function is
dry. Future releases will also support setting the URL to a field value of the current item.