JSON 通用导入格式是什么?

既然我需要重新创建用户,这样做可行吗?在这个例子中,用户 1(John Doe)创建了主题 1 “The Title”,该主题包含 1 篇由 John Doe 发布的帖子,内容为 Body?

如果这是正确的,我该如何使用 json_generic 脚本来启动这个过程?我对下一步操作有些困惑。

  "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
  },  

]
  }