JSON-D8 Migration: By Using Available and Custom Process Plugins
In our XML to Drupal 8 bog post series, we have seen that how can we do the XML to D8 migration by just using YML file , extend the capabilities of the migration by using available Process plugins and finally extended the capabilities of the migration by using Custom Process plugins. As the JSON to Drupal 8 migration is quite similar to XML migration so we will do the complete JSON to Drupal 8 migration in this Blog post. As we are migrating from JSON so we have created a sample JSON file which looks like below, Our migration configuration entity (YML) file under config/install defines Source (JSON file and fields in it), Destination (Drupal entity) and Field mappings (Process plugins). It looks like below, The only change between XML and JSON migration is "data_parser_plugin" as shown below, Data parser plugin is part of Migrate Plus module. It means we don't need to write custom code for most of the cases while migrating from XML or JSON t...