# What format for JSON Generic import?

**URL:** <https://meta.discourse.org/t/what-format-for-json-generic-import/192055>\
**Category:** Support\
**Tags:** mailing-list\
**Created:** [May 29, 2021, 10:27pm UTC](https://meta.discourse.org/t/what-format-for-json-generic-import/192055 "2021-05-29T22:27:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![thebetterjort](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebetterjort/32/219919_2.png) [@thebetterjort](https://meta.discourse.org/u/thebetterjort)\
**Post date:** [May 30, 2021, 10:36pm UTC](https://meta.discourse.org/t/what-format-for-json-generic-import/192055/7 "2021-05-30T22:36:01Z")

</div>

Since, I need to redo the users, would this work. In this example, user 1 (John Doe) creates topic 1, “The Title”, and this topic has 1 post by John Doe with content of Body?

If this is correct, How do I use the json\_generic script to start the process? I’m a little confused on the next step in the process.

```plaintext
  "topics": [
      {
        "id": 1,
        "user_id": "1",
        "title": "The title",
        "pinned": false,
        "posts": [
          {
            "id": 2,
            "user_id": "1",
            "body": "The body",
            "date": "The date",
            "author": "username"
          }
        ]
      }
    ],
  "users": [
       {
    "id": "1",      
    "name": "John Doe",
    "email": "John_Doe@wahoo.com",
    "password": "asfd9!t",
    "username": "John Doe",
    "active": true,
    "approved": true
  },  

]
  }

```

---

_[View the full topic](https://meta.discourse.org/t/what-format-for-json-generic-import/192055)._
