public function serialize()
    {
        return json_encode(array(
            'data' => $this->data,
            'this' => $this->getArrayCopy(),
            'name' => $this->name,
            'merged' => $this->merged,
        ));
    }
public function serialize()
    {
        return json_encode(array(
            'data' => $this->data,
            'this' => $this->getArrayCopy(),
            'name' => $this->name,
            'merged' => $this->merged,
        ));
    }
public function serialize ( ) { return json_encode ( array ( 'data' => $ this -> data , 'this' => $ this -> getArrayCopy ( ) , 'name' => $ this -> name , 'merged' => $ this -> merged , ) ) ; }
Serialize the response in JSON
@return string|bool
Serialize the response in JSON