[ckan-dev] Resource Extras As String

Stefan Oderbolz stefan.oderbolz at liip.ch
Mon Feb 10 10:10:09 UTC 2014


Hi Kristi,

I don't think so. "extras" are just simple key/value, so if you want to
save multiple values, you have to take care of this when you read the value
again (e.g. parse the string as array).

- Stefan


On Mon, Feb 10, 2014 at 10:07 AM, kristi powell <y2kristi at hotmail.com>wrote:

> hey...
>
> each time I save "extras" as part of my resource it says the value as a
> string. in my example I'm trying to save: "extras":[ "one"] but instead
> it's saving it as: "extras":"["one"]".
>
> is there anyway to get it to save as an array?
>
> thanks,
>
> Kristi
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



-- 
Liip AG  //  Feldstrasse 133 //  CH-8004 Zurich
Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140210/a7a20bb2/attachment-0003.html>


More information about the ckan-dev mailing list