protected function decodeColumnFunctions(array $columnFunctions, $json) { foreach ($columnFunctions as $i => $function) { $json = str_replace("\"#column_function.{$i}#\"", $function, $json); } return $json; }