Hi, I was checking the code of one plugin from
styleware.eu/store/item/67-performance-booster-for-k2 and suprise what I found is the code use is the same like administrator\components\com_k2\lib\JSON.php they just changed the copyright and call this file in plugin with native joomla function :
public function onAfterRoute() {
require_once (dirname(__FILE__).DS.'json.php');
}
15.00€ this plugin. Maybe it's hard to make a plugin who call a file (lol).