Problem/Motivation

I have Feeds module set up to import CSV files for my site. One of the columns in the CSV data is JSON; I was hoping to use this module to store it in Drupal, but on the Feeds mapping page (/admin/structure/feeds/manage/my_feed/mapping), there's no option to select the JSON field I created (type: JSON (stored as raw JSON in database)).

Issue fork json_field-3222366

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ptmkenny created an issue. See original summary.

ptmkenny’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB

Here's my initial attempt at this. This is my first time to extend the Feeds module, so I don't know if I did it right.

But, I tested it locally and it worked for me to import JSON from a CSV file.

damienmckenna’s picture

Version: 8.x-1.0-rc4 » 8.x-1.x-dev

ptmkenny’s picture

Updated to add support for text-based JSON fields (merge request #10).

Merge request #9 was a mistake, sorry about that. I would close it but I can't figure out how to.

damienmckenna’s picture

I closed MR9.

damienmckenna’s picture

Status: Needs review » Fixed
Parent issue: » #3315023: Plan for JSON Field 8.x-1.2

Committed. Thank you.

Status: Fixed » Closed (fixed)

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