src/Html/Builder.php
public function generateJson()
    {
        $args = array_merge(
            $this->attributes, [
                'ajax' => $this->ajax,
                'columns' => $this->collection->map(function (Column $column) {
                    $column = $column->toArray();
                    unset($column['attributes']);

                    return $column;
                })->toArray(),
            ]
        );

        return $this->parameterize($args);
    }
public function generateJson()
    {
        $args = array_merge(
            $this->attributes, [
                'ajax' => $this->ajax,
                'columns' => $this->collection->map(function (Column $column) {
                    $column = $column->toArray();
                    unset($column['attributes']);

                    return $column;
                })->toArray(),
            ]
        );

        return $this->parameterize($args);
    }
public function generateJson ( ) { $ args = array_merge ( $ this -> attributes , [ 'ajax' => $ this -> ajax , 'columns' => $ this -> collection -> map ( function ( Column $ column ) { $ column = $ column -> toArray ( ) ; unset ( $ column [ 'attributes' ] ) ; return $ column ; } ) -> toArray ( ) , ] ) ; return $ this -> parameterize ( $ args ) ; }
Get generated json configuration.

@return string
Get generated json configuration .