src/Jsonq.php
public function implode($key, $delimiter = ',')
    {
        $this->prepare();

        $implode = [];
        if (is_string($key)) {
            return $this->makeImplode($key, $delimiter);
        }

        if (is_array($key)) {
            foreach ($key as $k) {
                $imp = $this->makeImplode($k, $delimiter);
                $implode[$k] = $imp;
            }

            return $implode;
        }
        return '';
    }
public function implode($key, $delimiter = ',')
    {
        $this->prepare();

        $implode = [];
        if (is_string($key)) {
            return $this->makeImplode($key, $delimiter);
        }

        if (is_array($key)) {
            foreach ($key as $k) {
                $imp = $this->makeImplode($k, $delimiter);
                $implode[$k] = $imp;
            }

            return $implode;
        }
        return '';
    }
public function implode ( $ key , $ delimiter = ',' ) { $ this -> prepare ( ) ; $ implode = [ ] ; if ( is_string ( $ key ) ) { return $ this -> makeImplode ( $ key , $ delimiter ) ; } if ( is_array ( $ key ) ) { foreach ( $ key as $ k ) { $ imp = $ this -> makeImplode ( $ k , $ delimiter ) ; $ implode [ $ k ] = $ imp ; } return $ implode ; } return '' ; }
implode resulting data from desire key and delimeter

@param string|array $key
@param string $delimiter
@return string|array
@throws ConditionNotAllowedException
implode resulting data from desire key and delimeter