public function deserializeJSON($jsonString)
    {
        $data = \json_decode($jsonString);

        $this->clear();

        foreach ($data as $v) {

            $part = new EmailBodyPart();
            $part->updateFromObject($v);

            $this->add($v);
        }
    }