function SHOW_PRETTY($result) { $pretty = SERVER::json_pretty($result); //convert structure or json SERVER::dump($pretty, 'JSON'); //dump string to the screen }