There were some changes to the API url, so some filename massage was needed
The token is no longer needed, so I added a return rather than delete the function in case we need it again.
I added a new helper class to read JSON with an iterator to save some memory.
I cleaned up a little bit with some wrong return types and some confusing array juggling.
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.
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.