Da ich die Benutzer neu anlegen muss, würde das funktionieren? In diesem Beispiel erstellt Benutzer 1 (John Doe) Topic 1, „The Title“, und dieses Topic enthält einen Beitrag von John Doe mit dem Inhalt „Body“?
Wenn das korrekt ist, wie verwende ich das json_generic-Skript, um den Prozess zu starten? Ich bin beim nächsten Schritt des Prozesses etwas verwirrt.
"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
},
]
}