Automattic / newspack-custom-content-migrator

Custom migration tasks for launching and migrating Newspack sites on Atomic
5 stars 5 forks source link

Retro Report: Update code after JSON api has changed #328

Closed naxoc closed 1 year ago

naxoc commented 1 year ago

This PR makes the migrator for RR run again.

Note that I haven't changed anything in how the content is migrated.

Also note that I'm adding the JsonMachine library: https://github.com/halaxa/json-machine – I don't know that we read from all that much JSON, but it's a very handy and easy to use library that makes iterative reading much easier and lightweight.