Ticket #2889 (new enhancement)

Opened 21 months ago

Support JSON values in extras, when returning JSON from API

Reported by: seanh Owned by:
Priority: awaiting triage Milestone: ckan-v1.9
Component: ckan Keywords: api
Cc: Repository: ckan
Theme: none


For example, edit the warandpeace dataset and add an extra with key "comments" and value "[{u'date': u'Tue Aug 21 13:01:48 GMT 2012', u'comment': u'testing ckan', u'userId': u'11702'}, {u'date': u'Wed Aug 22 13:01:48 GMT 2012', u'comment': u'testing ckan again', u'userId': u'11702'}]", now visit API URLs such as:




The value of the extra comes out as a string in the dataset JSON, rather than having its contents unpacked into a list of JSON objects.

Note: See TracTickets for help on using tickets.