Coseva\CSV::toJSON PHP 메소드

toJSON() 공개 메소드

Use this to get the entire CSV in JSON format.
public toJSON ( ) : string
리턴 string JSON encoded string
    public function toJSON()
    {
        if (!isset($this->_rows)) {
            $this->parse();
        }
        return json_encode($this->_rows);
    }