/** * Append a new object to the JSON output * * @return bool */ public function writeStartObject() { if ($this->canEdit()) { return $this->json->startObject(); } return false; }