# Questions about importing json

**URL:** <https://meta.discourse.org/t/questions-about-importing-json/85829>\
**Category:** Development\
**Created:** [April 20, 2018, 6:48pm UTC](https://meta.discourse.org/t/questions-about-importing-json/85829 "2018-04-20T18:48:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mbcahyono](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbcahyono/32/97721_2.png) [@mbcahyono](https://meta.discourse.org/u/mbcahyono)\
**Post date:** [April 20, 2018, 7:45pm UTC](https://meta.discourse.org/t/questions-about-importing-json/85829/2 "2018-04-20T19:45:07Z")

</div>

I didn’t test it myself, but after reading the code, I think the format of the JSON should be similar to this:

```json
  {
    "topics": [
      {
        "id": 1,
        "title": "The title",
        "pinned": false,
        "posts": [
          {
            "id": 2,
            "body": "The body",
            "date": "The date",
            "author": "username"
          }
        ]
      }
    ]
  }

```

---

_[View the full topic](https://meta.discourse.org/t/questions-about-importing-json/85829)._
