I\'m trying to insert some boolean values into JSON-type columns.
$taskSql = \"INSERT INTO Tasks (data, taskListId) VALUES (JSON_OBJECT(\'title\', :title, \'done
I endet up changing the insert line to
INSERT INTO Tasks (data, taskListId) VALUES (JSON_OBJECT('title', :title, 'done', :done = TRUE || :done = '1'), :taskListId);
Not a solution but a workaround.