The JSON-convertible resource to save.
Filename of the file to write to.
plugin.oneliners["#channel"]["asdf"].responses ~= "asdf yourself"; plugin.oneliners["#channel"]["fdsa"].responses ~= "hirr"; saveResource(plugin.onelinersByChannel, plugin.onelinerFile);
Saves the passed resource to disk, but in JSON format.
This is used with the associative arrays for oneliners.