Answers.Body: <p>You can do this a number of ways, and essentially just need an array-like structure to represent the rows.</p>
  
  <pre><code>"Table": [
    {
      "one": "Option1",
      "two": "Option2"
    },
    {
      "one": "Option3",
      "two": "Option4"
    }
  ]
  </code></pre>
  
  <p>This issue might be related to your feed however. In the dropdown, you have <code>&lt;altTitles&gt; eg:</code> - there should be a value from your feed in there. According to your example, you should also be mapping to <code>altTitles/title</code>.</p>
  
  <p>My example above shows:</p>
  
  <p><a href="https://i.sstatic.net/uWF10.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uWF10.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-26T23:32:46.273Z
Answers.Text: Looks like I had it mapped to `altTitles`... I didn't even see that `altTitles/title` was there! Thanks crawf, you're a lifesaver!
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-26T23:22:33.743Z
Answers.LastActivityDate: 2017-05-26T23:22:33.743Z
Answers.UserDisplayName: crawf
Body: <p>I need to import some data into a <strong>table</strong> field.</p>
  
  <p>What's the best way to format the data in my original JSON feed?</p>
  
  <p>I've tried this:</p>
  
  <pre><code>[
      "first value",
      "second value",
  ]
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>[
      {"col1": "first value"},
      {"col2": "second value"},
  ]
  </code></pre>
  
  <p>But neither of those JSON formats seems to be importing the data properly.</p>
  
  <p><strong>How should I format my data in JSON, so that it may be imported into a table field?</strong></p>
  
  <hr>
  
  <p><strong>MORE INFORMATION</strong></p>
  
  <p>I've read <a href="https://sgroup.com.au/plugins/feedme/content-mapping/field-types#table" rel="nofollow noreferrer">these docs</a>, but apparently I'm still doing something wrong.</p>
  
  <p>My current JSON looks like this...</p>
  
  <pre><code>"altTitles": [
      {
          "title": "Morke"
      }
  ]
  </code></pre>
  
  <p>Where <code>altTitles</code> is my table field, and <code>title</code> is the only column.</p>
  
  <p>I believe I've properly mapped the field...</p>
  
  <p><a href="https://i.sstatic.net/Xvm8u.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Xvm8u.png" alt="mapping"></a></p>
  
  <p>Yet for whatever reason, the table fields are not populating...</p>
  
  <p><a href="https://i.sstatic.net/HGrH9.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HGrH9.png" alt="empty table"></a></p>
  
Tags: <json><table-field><plugin-feedme>
Title: Feed Me: How to format JSON for a table field?
ThreadText: # Feed Me: How to format JSON for a table field?
  
  (Asked by: username_0 on 2017-05-26)
  
  I need to import some data into a **table** field.
  
  What's the best way to format the data in my original JSON feed?
  
  I've tried this:
  
  ```
  [
      "first value",
      "second value",
  ]
  
  ```
  
  and this:
  
  ```
  [
      {"col1": "first value"},
      {"col2": "second value"},
  ]
  
  ```
  
  But neither of those JSON formats seems to be importing the data properly.
  
  **How should I format my data in JSON, so that it may be imported into a table field?**
  
  ---
  
  **MORE INFORMATION**
  
  I've read [these docs](https://sgroup.com.au/plugins/feedme/content-mapping/field-types#table), but apparently I'm still doing something wrong.
  
  My current JSON looks like this...
  
  ```
  "altTitles": [
      {
          "title": "Morke"
      }
  ]
  
  ```
  
  Where `altTitles` is my table field, and `title` is the only column.
  
  I believe I've properly mapped the field...
  
  [![mapping](https://i.sstatic.net/Xvm8u.png)](https://i.sstatic.net/Xvm8u.png)
  
  Yet for whatever reason, the table fields are not populating...
  
  [![empty table](https://i.sstatic.net/HGrH9.png)](https://i.sstatic.net/HGrH9.png)
  
  **Tags:** json, table-field, plugin-feedme
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-05-26. Score: 3 | Accepted answer
  
  You can do this a number of ways, and essentially just need an array-like structure to represent the rows.
  
  ```
  "Table": [
    {
      "one": "Option1",
      "two": "Option2"
    },
    {
      "one": "Option3",
      "two": "Option4"
    }
  ]
  
  ```
  
  This issue might be related to your feed however. In the dropdown, you have `<altTitles> eg:` - there should be a value from your feed in there. According to your example, you should also be mapping to `altTitles/title`.
  
  My example above shows:
  
  [![enter image description here](https://i.sstatic.net/uWF10.png)](https://i.sstatic.net/uWF10.png)
  
  > **Comments:**
  > **username_0**: Looks like I had it mapped to `altTitles`... I didn't even see that `altTitles/title` was there! Thanks username_1, you're a lifesaver!  
  
  ---
  
  