protected function resolveJsonCastableColumns(&$log)
    {
        foreach ($log as $name => $value) {
            if (!is_array($value)) {
                continue;
            }
            $log[$name] = json_encode($value);
        }
        return $log;
    }
protected function resolveJsonCastableColumns(&$log)
    {
        foreach ($log as $name => $value) {
            if (!is_array($value)) {
                continue;
            }
            $log[$name] = json_encode($value);
        }
        return $log;
    }
protected function resolveJsonCastableColumns ( & $ log ) { foreach ( $ log as $ name => $ value ) { if ( ! is_array ( $ value ) ) { continue ; } $ log [ $ name ] = json_encode ( $ value ) ; } return $ log ; }
Resolves json castable columns

@return array
Resolves json castable columns