https://g.co/gemini/share/409e42f99b32


// src/Entity/Book.php
namespace App\Entity;

use Symfony\Component\Validator\Constraints as Assert;

class Book
{
    #[Assert\Json(
        message: "You've entered an invalid Json."
    )]
    private string $chapters;
}


Powered by Froala Editor