I'm obviously missing something obvious, but how do you specify the mappings?

When I go into Feeds to define a new one and change the parser to JSON, I get the message in Settings saying

FeedsJSONPathParser: No mappings were defined.

I assume I need to provide the mappings somewhere, but whether that is in code or via the UI, I don't know.

Can anyone shed some light on this?

Comments

twistor’s picture

Assigned: Unassigned » twistor
Status: Active » Fixed

I'm going to call this fixed, since I have improved that help message to point to the mapping page.

You have to add mappings of source type: JSONPath Expression.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mgifford’s picture

Sorry.. I did that, but am still not sure how to map the individual results to a particular field type.

I've got a feed, well, actually this one here:
http://beta.geogratis.gc.ca/api/en/nrcan-rncan/ess-sst/?q=gold&alt=json

And am looking to parse that data into nodes for all of the results.

mgifford’s picture

Status: Closed (fixed) » Needs work

Bumping status. Also posting related link #1093614: Create documentation handbook

charlie-s’s picture

Status: Needs work » Active

Is this the behavior you're seeing? http://drupal.org/node/1291864

twistor’s picture

Assigned: twistor » Unassigned
Issue summary: View changes
Status: Active » Closed (fixed)