src/Entities/Users/NewUserAddress.php
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['note'] = $this->getNote();
        $json['favourite'] = $this->isFavourite();

        return $json;
    }
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['note'] = $this->getNote();
        $json['favourite'] = $this->isFavourite();

        return $json;
    }
Specify data which should be serialized to JSON