[ckan-dev] Resource Extras As String

kristi powell y2kristi at hotmail.com
Mon Feb 10 13:45:43 UTC 2014


Thank you Stefan. 

> On Feb 10, 2014, at 5:10 AM, "Stefan Oderbolz" <stefan.oderbolz at liip.ch> wrote:
> 
> 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
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140210/4661d3f5/attachment-0003.html>
-------------- next part --------------
_______________________________________________
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


More information about the ckan-dev mailing list