Following the Wordpress Migration Guide, I installed the plugin and exported my Wordpress posts, then cleaned them up so that everything is valid JSON.
However, when trying to get that file into Ghost, I’m getting the error: Import failed
Expected “,” or “}” but “[” found.
The format hasn’t changed from the export, which is (example for structure):
{
"data": {
"posts": [{
"id": 1,
"title": "",
"slug": "",
"markdown": "",
"html": "",
"image": "",
"featured": 0,
"page": 0,
"status": "published",
"language": "en_US",
"meta_title": null,
"meta_description": null,
"author_id": 26,
"created_at": "Thu, 12 Jan 2017 17:35:37 +0000",
"created_by": 1,
"updated_at": "Tue, 20 Feb 2018 16:41:58 +0000",
"updated_by": 1,
"published_at": "Thu, 12 Jan 2017 17:35:37 +0000",
"published_by": 1
}],
"users": [{
"id": 9,
"slug": "",
"bio": false,
"website": "",
"created_at": "Thu, 13 Nov 2014 04:16:52 +0000",
"created_by": 1,
"email": "",
"name": ""
}]
}
}
I’m not sure what the issue is at this point.