Sequelize JSON data type : <p>I have defined a model as </p>

<pre><code>module.exports = function (sequelize, DataTypes) {
  const MyModel = sequelize.define('MyModel', {
    data: {
      type: DataTypes.JSON,
      ...
    },
    ...
  });

  return MyModel;
};
</code></pre>

<p>I query it using </p>

<pre><code>MyModel.findAll().then(myModels =&gt; ...);
</code></pre>

<p>However, <code>data</code> field in the query result is a string, not a JSON object. How do I fix it?</p>
