title: How to insert multiple records using JSON in SQLAlchemy
body: <p>I want to insert multiple records using <code>json</code> like this:</p>
  
  <pre><code>posts = [{
              "title": "First Post",
              "user_id": 1
          }, 
          {
              "title": "Second Post", 
              "user_id": 2
          }]
  </code></pre>
  
  <p>How do you save <code>posts</code> like this way?:</p>
  
  <pre><code>post = Post(title=posts.title, user_id=posts.user_id)
  db.session.add(post)
  db.session.commit()
  </code></pre>
  
  <p>I am using flask 1.0.2 and Python 3.6.6.</p>