From a view we can export to a long and detailed json file, no problem. But there is no way to import that file again.

I tried https://backdropcms.org/project/default_views_config but it barfed on the exported file with:

ParseError: syntax error, unexpected token ":" in default_views_config_form_validate() (line 2 of /var/www/clients/client1/web1/web/modules/default_views_config/default_views_config.module(83) : eval()'d code).

Or is there another way to import the views?

Accepted answer

Yes. All configurations (including Views) can be imported at 

admin/config/development/configuration/single

Also the module default_views_config() is used to convert Drupal 7 Views exports (basically PHP code) into JSON, which you can then copy and import in the link above.

Comments

Yes. All configurations (including Views) can be imported at 

admin/config/development/configuration/single

Also the module default_views_config() is used to convert Drupal 7 Views exports (basically PHP code) into JSON, which you can then copy and import in the link above.

Thanks mate! Is that documented in the wiki? I couldn't find it in there.

I don't think importing Views is documented explicitly, but this forum post will be a good reference going forward!