Closed (fixed)
Project:
Migrate
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Feb 2012 at 04:55 UTC
Updated:
3 Oct 2012 at 21:51 UTC
This stub here really needs to be filled out http://drupal.org/node/1152160
I'd like to import an external JSON file and am having difficulty figuring out how to import it. With HTML, I'd just download the whole site, but in this case, I just want the metadata. The raw files are much too big to mirror.
Any direction on how to do this?
Comments
Comment #1
mikgreen commentedAgreed. Some JSON migration examples would be great.
I'm not sure if json migration support is even complete!?
When comparing to plugins/sources/xml.inc, it seems that json.inc is missing FieldMapping and Migration classes extensions. I guess you have to implement them yourself depending on your json data structure.
Since I'm importing from Drupal itself, using Services module, I have a choise to switch to XML import which has better docs.
Comment #2
mikeryanAt some point since this issue was opened, twom added a basic example to http://drupal.org/node/1152160 - I've now edited the page and added a more advanced example.
Note that the existing JSON support won't handle big files well - I've opened #1789346: Handle big JSON files to address that.
Comment #3
mgiffordThanks.. Documentation is hard to find time for.